Fix clippy warnings

This commit is contained in:
gwenn
2018-05-04 19:55:55 +02:00
parent 361d4ca602
commit 994d40da26
13 changed files with 33 additions and 35 deletions

View File

@@ -92,7 +92,7 @@ impl<'conn> CachedStatement<'conn> {
fn new(stmt: Statement<'conn>, cache: &'conn StatementCache) -> CachedStatement<'conn> {
CachedStatement {
stmt: Some(stmt),
cache: cache,
cache,
}
}