Fix clippy warnings

This commit is contained in:
gwenn
2022-10-02 11:34:58 +02:00
parent a100adc1f2
commit 7dab08c4b2
10 changed files with 21 additions and 21 deletions

View File

@@ -1260,7 +1260,7 @@ mod test {
}
let path_string = path.to_str().unwrap();
let db = Connection::open(&path_string)?;
let db = Connection::open(path_string)?;
let the_answer: Result<i64> = db.query_row("SELECT x FROM foo", [], |r| r.get(0));
assert_eq!(42i64, the_answer?);