mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
#![allow(clippy::float_cmp)] everywhere
it has always been an annoyance, never a help
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
//! Find "simple" numbers is some range. Used by sliders.
|
||||
|
||||
#![allow(clippy::float_cmp)] // I know what I'm doing
|
||||
|
||||
const NUM_DECIMALS: usize = 15;
|
||||
|
||||
/// Find the "simplest" number in a closed range [min, max], i.e. the one with the fewest decimal digits.
|
||||
|
||||
Reference in New Issue
Block a user