Fix clippy warnings

This commit is contained in:
gwenn
2021-06-16 19:22:31 +02:00
committed by Thom Chiovoloni
parent 781d5b9fdd
commit 5730b2f952
7 changed files with 13 additions and 10 deletions

View File

@@ -670,7 +670,7 @@ impl Connection {
stmt.check_no_tail()?;
let mut rows = stmt.query(params)?;
rows.get_expected_row().map_err(E::from).and_then(|r| f(&r))
rows.get_expected_row().map_err(E::from).and_then(|r| f(r))
}
/// Prepare a SQL statement for execution.