Skip to content

Commit

Permalink
refactor(clippy): apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 9, 2024
1 parent c64d8d3 commit 417b617
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions git-cliff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,8 @@ fn process_repository<'a>(
path_diff.display()
);
path_diff.extend(["**", "*"]);
include_path = Some(vec![Pattern::new(
&path_diff.to_string_lossy().to_string(),
)?]);
include_path =
Some(vec![Pattern::new(path_diff.to_string_lossy().as_ref())?]);
}
}

Expand Down

0 comments on commit 417b617

Please sign in to comment.