Skip to content

Commit cbcd654

Browse files
author
Markus Westerlind
committed
Finish the comment in the benchmarks
1 parent 00eb5fb commit cbcd654

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benches/bench.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ impl Iterator for RandomKeys {
4343
}
4444
}
4545

46-
// Just an arbitrary side effect to
46+
// Just an arbitrary side effect to make the maps not shortcircuit to the non-dropping path
47+
// when dropping maps/entries (most real world usages likely have drop in the key or value)
4748
lazy_static::lazy_static! {
4849
static ref SIDE_EFFECT: AtomicUsize = AtomicUsize::new(0);
4950
}

0 commit comments

Comments
 (0)