Skip to content

Commit b524b16

Browse files
committed
style(lib): fix new lint added in nightly
rust-lang/rust#138677
1 parent bf02180 commit b524b16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cancellable_timer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ impl CancellableTimer {
4141
*self.cancelled.lock().unwrap() = false;
4242
}
4343

44-
pub fn wait(&self) -> Option<TimerGuard> {
44+
pub fn wait(&self) -> Option<TimerGuard<'_>> {
4545
let start_lock = self.start.lock().unwrap();
4646
let elapsed = start_lock.elapsed();
4747
let duration_to_go = self.duration.saturating_sub(elapsed);

0 commit comments

Comments
 (0)