100-exercises-to-learn-rust
100-exercises-to-learn-rust copied to clipboard
04_traits/12_copy passes even without implementing wrapping add
04_traits/12_copy passes even without implementing wrapping, because 02_basic_calculator/08_overflow added it to dev profile in Cargo.toml.
Interestingly until you mentioned it I never even thought that wasn't intentional. I "relied" on that for the test to pass and never looked at the official solutions to see they intended for use to use wrapping_add. I thought it was jut to give us practice implementing the Add trait.
Good catch—I fixed this with a package-specific override.