Silence clippy

This commit is contained in:
Tim Hutt 2020-10-22 22:00:17 +01:00 committed by Thom Chiovoloni
parent f264873999
commit 8841187717

View File

@ -413,6 +413,8 @@ mod test {
#[test] #[test]
fn test_numeric_conversions() { fn test_numeric_conversions() {
#![allow(clippy::float_cmp)]
// Test what happens when we store an f32 and retrieve an i32 etc. // Test what happens when we store an f32 and retrieve an i32 etc.
let db = Connection::open_in_memory().unwrap(); let db = Connection::open_in_memory().unwrap();
db.execute_batch("CREATE TABLE foo (x)").unwrap(); db.execute_batch("CREATE TABLE foo (x)").unwrap();