Skip to content

Commit 5cc8b01

Browse files
committed
fix: use is_multiple_of() to satisfy clippy on Rust 1.93+
1 parent d89626d commit 5cc8b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/pet-fs/src/glob.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ pub fn expand_glob_pattern(pattern: &str) -> Vec<PathBuf> {
132132
match entry {
133133
Ok(path) => {
134134
count += 1;
135-
if count % 100 == 0 {
135+
if count.is_multiple_of(100) {
136136
log::trace!(
137137
"Glob '{}': found {} matches so far ({:?} elapsed)",
138138
pat,

0 commit comments

Comments
 (0)