Skip to content

Commit 164b4a3

Browse files
committed
Cleanup
1 parent 77f24a7 commit 164b4a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ impl InnerConnection {
656656
}
657657

658658
fn prepare_cached<'a>(&mut self, query: &str, conn: &'a Connection) -> Result<Statement<'a>> {
659-
let stmt = self.cached_statements.get(query).map(|e| e.clone());
659+
let stmt = self.cached_statements.get(query).cloned();
660660

661661
let CachedStatement { name, param_types, columns } = match stmt {
662662
Some(stmt) => stmt,

0 commit comments

Comments
 (0)