mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-05 11:47:13 +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.