Fix unused imports warning

Reviewed By: wkhughes

Differential Revision: D37566816

fbshipit-source-id: 496361c582ef90ac469260023a83813de420f1b9
This commit is contained in:
Jason White 2022-07-05 11:28:41 -07:00 committed by Facebook GitHub Bot
parent 5e71d185bb
commit d913bf6e4f

View file

@ -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();