Skip to content

Commit abccbd8

Browse files
committed
Remove unnecessary lazy_static usage in bench.rs
1 parent 3bcb845 commit abccbd8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

benches/bench.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ impl Iterator for RandomKeys {
4545

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

5250
#[derive(Clone)]
5351
struct DropType(usize);

0 commit comments

Comments
 (0)