Skip to content

Commit

Permalink
Fix clippy lint on 1.72
Browse files Browse the repository at this point in the history
  • Loading branch information
w4 committed Aug 26, 2023
1 parent b355ac6 commit 56917a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ impl OpenRepository {

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

0 comments on commit 56917a9

Please sign in to comment.