Skip to content

Commit

Permalink
Merge pull request GitoxideLabs#1754 from GitoxideLabs/fix-ci
Browse files Browse the repository at this point in the history
fix clippy
  • Loading branch information
Byron authored Jan 10, 2025
2 parents a22f13b + 6805beb commit 34096a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gix-blame/src/file/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ where

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

0 comments on commit 34096a5

Please sign in to comment.