We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8260c5b commit ac6a0c5Copy full SHA for ac6a0c5
src/tests.rs
@@ -43,7 +43,6 @@ fn tests_updater() {
43
assert!(Clock::recent_since_epoch() > clock_recent);
44
assert!(Instant::recent() != ts);
45
updater.stop().unwrap();
46
- let ts = Instant::recent();
47
let clock_recent = Clock::recent_since_epoch();
48
sleep(time::Duration::new(1, 0));
49
assert_eq!(Clock::recent_since_epoch(), clock_recent);
0 commit comments