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

@@ -453,7 +453,7 @@ impl Statement<'_> {
{
let mut rows = self.query(params)?;
rows.get_expected_row().and_then(|r| f(&r))
rows.get_expected_row().and_then(|r| f(r))
}
/// Convenience method to execute a query with named parameter(s) that is