commit | 76ebcdd9bf7294c01e5c6f8f62a245b4926dafec | [log] [tgz] |
---|---|---|
author | David Tolnay <dtolnay@gmail.com> | Fri Jan 05 17:07:26 2018 -0800 |
committer | David Tolnay <dtolnay@gmail.com> | Fri Jan 05 17:07:26 2018 -0800 |
tree | ccb4ce65815b92b954e44c9d1555162c44e49718 | |
parent | 555350115f78c852341747aaf20f8bc1a54352cb [diff] [blame] |
Address clippy lints
diff --git a/tests/test_lit.rs b/tests/test_lit.rs index c0fbfa5..1a65c39 100644 --- a/tests/test_lit.rs +++ b/tests/test_lit.rs
@@ -173,6 +173,7 @@ #[test] fn floats() { + #[cfg_attr(feature = "cargo-clippy", allow(float_cmp))] fn test_float(s: &str, value: f64, suffix: FloatSuffix) { match lit(s) { Lit::Float(lit) => {