Skip to content

Commit 1f236eb

Browse files
committed
remove unused function
1 parent 06b49aa commit 1f236eb

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/clock/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,6 @@ impl Deadline {
4141
}
4242
}
4343

44-
/// Returns `true` if the deadline has already passed on its clock.
45-
pub fn has_passed(self) -> bool {
46-
self.clock_now() >= self.target()
47-
}
48-
4944
/// Sleeps until this deadline.
5045
///
5146
/// The monotonic clock advances uniformly, so a single relative sleep is

0 commit comments

Comments
 (0)