We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aefc00e commit 06058e8Copy full SHA for 06058e8
std/benches/time.rs
@@ -1,5 +1,3 @@
1
-use std::time::Instant;
2
-
3
#[cfg(not(target_arch = "wasm32"))]
4
use test::{Bencher, black_box};
5
@@ -10,6 +8,7 @@ macro_rules! bench_instant_threaded {
10
8
fn $bench_name(b: &mut Bencher) -> std::thread::Result<()> {
11
9
use std::sync::Arc;
12
use std::sync::atomic::{AtomicBool, Ordering};
+ use std::time::Instant;
13
14
let running = Arc::new(AtomicBool::new(true));
15
0 commit comments