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 e522f8d commit e8976fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ fn process_repository<'a>(
return true;
}

let count = count_tags.map_or(true, |r| {
let count = count_tags.is_none_or(|r| {
let count_tag = r.is_match(name);
if count_tag {
trace!("Counting release: {}", name);
Expand Down

0 comments on commit e8976fe

Please sign in to comment.