Skip to content

Commit 34096a5

Browse files
authored
Merge pull request #1754 from GitoxideLabs/fix-ci
fix clippy
2 parents a22f13b + 6805beb commit 34096a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-blame/src/file/function.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ where
203203

204204
hunks_to_blame.retain_mut(|unblamed_hunk| {
205205
if unblamed_hunk.suspects.len() == 1 {
206-
if let Some(entry) = BlameEntry::from_unblamed_hunk(&unblamed_hunk, suspect) {
206+
if let Some(entry) = BlameEntry::from_unblamed_hunk(unblamed_hunk, suspect) {
207207
// At this point, we have copied blame for every hunk to a parent. Hunks
208208
// that have only `suspect` left in `suspects` have not passed blame to any
209209
// parent, and so they can be converted to a `BlameEntry` and moved to

0 commit comments

Comments
 (0)