Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

04_traits/12_copy passes even without implementing wrapping add #64

Open
vitalie-cracan opened this issue May 27, 2024 · 1 comment
Open

Comments

@vitalie-cracan
Copy link

04_traits/12_copy passes even without implementing wrapping, because 02_basic_calculator/08_overflow added it to dev profile in Cargo.toml.

@c-git
Copy link
Contributor

c-git commented May 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants