Skip to content

Commit 2a251d8

Browse files
Rust update
1 parent ac53b49 commit 2a251d8

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

Cargo.lock

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/language/mutations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ where
625625
continue;
626626
}
627627
let n_pools = self.pools.len();
628-
if n_pools % 10_000 == 0 {
628+
if n_pools.is_multiple_of(10_000) {
629629
self.pools.shrink_to_fit();
630630
}
631631

0 commit comments

Comments
 (0)