]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/unused_rounding.fixed
Rollup merge of #98111 - eggyal:issue-97982, r=GuillaumeGomez
[rust.git] / src / tools / clippy / tests / ui / unused_rounding.fixed
1 // run-rustfix
2 #![warn(clippy::unused_rounding)]
3
4 fn main() {
5     let _ = 1f32;
6     let _ = 1.0f64;
7     let _ = 1.00f32;
8     let _ = 2e-54f64.floor();
9 }