rust/library/core
Eric Huss d43c9ad5d3
Rollup merge of #92600 - asquared31415:float-must-use, r=joshtriplett
Add some missing `#[must_use]` to some `f{32,64}` operations

This PR adds `#[must_use]` to the following methods:
 - `f32::recip`
 - `f32::max`
 - `f32::min`
 - `f32::maximum`
 - `f32::minimum`
 and their equivalents in `f64`.
 These methods all produce a new value without modifying the original and so are pointless to call without using the result.
2022-01-07 20:21:00 -08:00
..
benches Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtriplett 2021-10-12 03:18:54 +00:00
primitive_docs
src Rollup merge of #92600 - asquared31415:float-must-use, r=joshtriplett 2022-01-07 20:21:00 -08:00
tests Auto merge of #92226 - woppopo:const_black_box, r=joshtriplett 2021-12-24 10:02:54 +00:00
Cargo.toml