From a1dd3d86ac7945807c6bde5613fab305bdb92c58 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 10 Aug 2024 15:50:05 +0200 Subject: [PATCH] clippy::redundant_clone --- rusqlite-macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rusqlite-macros/src/lib.rs b/rusqlite-macros/src/lib.rs index 0e951d4..93f2e98 100644 --- a/rusqlite-macros/src/lib.rs +++ b/rusqlite-macros/src/lib.rs @@ -20,7 +20,7 @@ type Result = std::result::Result; fn try_bind(input: TokenStream) -> Result { let (stmt, literal) = { - let mut iter = input.clone().into_iter(); + let mut iter = input.into_iter(); let stmt = iter.next().unwrap(); let literal = iter.next().unwrap(); assert!(iter.next().is_none());