Skip to content

Commit 8df55df

Browse files
author
Ariel Ben-Yehuda
committed
remove unstable comment
1 parent dfb2342 commit 8df55df

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/rt/timer.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,9 @@ pub trait Timer {
7474
/// Return a future that resolves at `deadline`.
7575
fn sleep_until(&self, deadline: Instant) -> Pin<Box<dyn Sleep>>;
7676

77-
/// Return an `Instant` representing the current time
77+
/// Return an `Instant` representing the current time.
7878
///
79-
/// This function is currently unstable to implement - its
80-
/// definition might change in a future version of Hyper
81-
///
82-
/// FIXME: do we want to mention this function in the module doc comment?
79+
/// The default implementation returns [`Instant::now()`].
8380
fn now(&self) -> Instant {
8481
Instant::now()
8582
}

0 commit comments

Comments
 (0)