I would expect this to work, and print '1': `println!("{}", std::num::Wrapping(1u8));`. Instead the compiler informs me: > error: the trait `core::fmt::Display` is not implemented for the type `core::num::Wrapping<u8>` Perhaps `Wrapping` should implement `Display`?
Activity
alexcrichton commentedon Apr 15, 2016
Sounds like a good idea to me!
Implement `Display` and `Hash` for `std::num::Wrapping`
Display
andHash
forstd::num::Wrapping
#33023Rollup merge of rust-lang#33023 - tbu-:pr_wrapping_traits, r=alexcric…