mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-09 19:20:53 +00:00
There are a handful of functions we can move out of the macro and to the numeric traits as default implementations; do that here. Additionally, add some bounds that make sense for completeness.