Skip to content

Commit 248547c

Browse files
committed
cargo clippy
1 parent 1d971c8 commit 248547c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/info/git/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ fn should_break(
222222
return false;
223223
}
224224

225-
max_churn_pool_size_opt.map_or(true, |max_churn_pool_size| {
225+
max_churn_pool_size_opt.is_none_or(|max_churn_pool_size| {
226226
number_of_diffs_computed >= max_churn_pool_size.min(total_number_of_commits)
227227
})
228228
}

0 commit comments

Comments
 (0)