Fix a couple of warnings
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{thread, time::{Duration, Instant}};
|
||||
use std::time::{Duration, Instant};
|
||||
|
||||
pub struct Timeout {
|
||||
instant: Instant,
|
||||
@@ -42,4 +42,4 @@ impl Timeout {
|
||||
Err(())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user