diff --git a/crates/ruff_python_literal/src/float.rs b/crates/ruff_python_literal/src/float.rs index 128d8a622911e..e59d78c34f65f 100644 --- a/crates/ruff_python_literal/src/float.rs +++ b/crates/ruff_python_literal/src/float.rs @@ -1,5 +1,3 @@ -use std::f64; - fn is_integer(v: f64) -> bool { (v - v.round()).abs() < f64::EPSILON }