]> git.lizzy.rs Git - rust.git/commit
Add #[must_use] to math and bit manipulation methods
authorJohn Kugelman <john@kugelman.name>
Sun, 10 Oct 2021 02:35:00 +0000 (22:35 -0400)
committerJohn Kugelman <john@kugelman.name>
Sun, 10 Oct 2021 02:43:32 +0000 (22:43 -0400)
commitbc9d13e65890ea79f429ba404d2771b97290215f
tree265fce254683918cdc7c1962c9fba06d34176cc4
parentbb918d0a5bf22211df0423f7474e4e4056978007
Add #[must_use] to math and bit manipulation methods

Also tidied up a few other nearby `#[must_use]`s.
library/core/src/num/f32.rs
library/core/src/num/f64.rs
library/core/src/num/int_macros.rs
library/core/src/num/nonzero.rs
library/core/src/num/saturating.rs
library/core/src/num/uint_macros.rs
library/core/src/num/wrapping.rs
library/core/src/time.rs