Declare the `forward_ref` crate as a dependency (my first external dependency!) and use it to clean up the infix, assign, and unary op impls. This crate automatically implements A+&B, &A+B, and &A+&B for me. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
Declare the `forward_ref` crate as a dependency (my first external dependency!) and use it to clean up the infix, assign, and unary op impls. This crate automatically implements A+&B, &A+B, and &A+&B for me. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||