From 56917a9720cde99c53e42088ddcbf3ff37e6f1a6 Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sat, 26 Aug 2023 14:27:53 +0100 Subject: [PATCH] Fix clippy lint on 1.72 --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git.rs b/src/git.rs index d536727..97fe616 100644 --- a/src/git.rs +++ a/src/git.rs @@ -139,7 +139,7 @@ let mut tree_items = Vec::new(); - for item in tree.iter() { + for item in &tree { let object = item .to_object(&repo) .context("Expected item in tree to be object but it wasn't")?; -- rgit 0.1.3