🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2023-08-26 14:27:53.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2023-08-26 14:27:53.0 +01:00:00
commit
56917a9720cde99c53e42088ddcbf3ff37e6f1a6 [patch]
tree
1b25f71dd9d6eb39fd513cad078fa268e0e8f58e
parent
b355ac6b6f9cb80b4eb6cabf47e11977cf2aa540
download
56917a9720cde99c53e42088ddcbf3ff37e6f1a6.tar.gz

Fix clippy lint on 1.72



Diff

 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")?;