From 884118771762f79d61f92374e2d3ce1f3e86aec6 Mon Sep 17 00:00:00 2001 From: Tim Hutt Date: Thu, 22 Oct 2020 22:00:17 +0100 Subject: [PATCH] Silence clippy --- src/types/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/mod.rs b/src/types/mod.rs index 7868f18..74f2391 100644 --- a/src/types/mod.rs +++ b/src/types/mod.rs @@ -413,6 +413,8 @@ mod test { #[test] fn test_numeric_conversions() { + #![allow(clippy::float_cmp)] + // Test what happens when we store an f32 and retrieve an i32 etc. let db = Connection::open_in_memory().unwrap(); db.execute_batch("CREATE TABLE foo (x)").unwrap();