You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…hton
Implement `Display` and `Hash` for `std::num::Wrapping`
Also, change the `Debug` implementation to only show the inner value.
Fixesrust-lang#33006.
I would expect this to work, and print '1':
println!("{}", std::num::Wrapping(1u8));
. Instead the compiler informs me:Perhaps
Wrapping
should implementDisplay
?The text was updated successfully, but these errors were encountered: