mirror of
https://github.com/isar/rusqlite.git
synced 2025-10-25 18:38:54 +08:00
Fix clippy warnings
This commit is contained in:
@@ -198,7 +198,7 @@ impl Connection {
|
||||
let mut rows = stmt.query([])?;
|
||||
while let Some(result_row) = rows.next()? {
|
||||
let row = result_row;
|
||||
f(&row)?;
|
||||
f(row)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
@@ -234,7 +234,7 @@ impl Connection {
|
||||
let mut rows = stmt.query([])?;
|
||||
while let Some(result_row) = rows.next()? {
|
||||
let row = result_row;
|
||||
f(&row)?;
|
||||
f(row)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user