]> git.lizzy.rs Git - rust.git/commit
Implement `Display` and `Hash` for `std::num::Wrapping`
authorTobias Bucher <tobiasbucher5991@gmail.com>
Sat, 16 Apr 2016 07:51:21 +0000 (09:51 +0200)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Sat, 16 Apr 2016 07:53:40 +0000 (09:53 +0200)
commit79e68a61a90fc6631e22a1d81d275c6e658d4771
tree230ce4f7a711112f2709f0240ec4c44b3abf006f
parent6fa61b810dc95ca3e8bbda1681229f855f214fc4
Implement `Display` and `Hash` for `std::num::Wrapping`

Also, change the `Debug` implementation to only show the inner value.

Fixes #33006.
src/libcore/num/mod.rs