From d913bf6e4f5320eb5d8e7b7fbf37e43bb28f1b54 Mon Sep 17 00:00:00 2001 From: Jason White Date: Tue, 5 Jul 2022 11:28:41 -0700 Subject: [PATCH] Fix unused imports warning Reviewed By: wkhughes Differential Revision: D37566816 fbshipit-source-id: 496361c582ef90ac469260023a83813de420f1b9 --- tests/busywait.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/busywait.rs b/tests/busywait.rs index 666b08d..b63e77f 100644 --- a/tests/busywait.rs +++ b/tests/busywait.rs @@ -36,8 +36,6 @@ use serde::Serialize; use std::sync::atomic::AtomicBool; use std::sync::atomic::AtomicU64; use std::sync::atomic::Ordering; -use std::time::Duration; -use std::time::Instant; #[derive(Debug, Serialize, Deserialize, Default)] struct GlobalState { @@ -195,6 +193,9 @@ mod tests { use reverie_ptrace::testing::check_fn_with_config; use reverie_ptrace::testing::do_branches; + use std::time::Duration; + use std::time::Instant; + #[test] fn guest_busywait_no_timer() { let start = Instant::now();