We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bcb845 commit abccbd8Copy full SHA for abccbd8
benches/bench.rs
@@ -45,9 +45,7 @@ impl Iterator for RandomKeys {
45
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)
48
-lazy_static::lazy_static! {
49
- static ref SIDE_EFFECT: AtomicUsize = AtomicUsize::new(0);
50
-}
+static SIDE_EFFECT: AtomicUsize = AtomicUsize::new(0);
51
52
#[derive(Clone)]
53
struct DropType(usize);
0 commit comments