Fix clippy warnings

This commit is contained in:
gwenn
2024-03-15 19:23:36 +01:00
parent 30a211056e
commit 5d148358d6
5 changed files with 7 additions and 9 deletions

View File

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