Skip to content

Commit 6a446f1

Browse files
committed
Fix clippy manual_is_multiple_of
This was recently added to nightly.
1 parent aa5a2e0 commit 6a446f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/report/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ fn write_logs<DB: ReadResults, W: ReportWriter>(
300300
}
301301

302302
for (i, krate) in crates.iter().enumerate() {
303-
if i % progress_every == 0 {
303+
if i.is_multiple_of(progress_every) {
304304
info!("wrote logs for {i}/{num_crates} crates")
305305
}
306306

0 commit comments

Comments
 (0)