Skip to content

Commit 832cfa2

Browse files
committed
Merge remote-tracking branch 'origin/master' into wasm-support
2 parents bfbe40d + 4586461 commit 832cfa2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/delay.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ use crate::{ScheduledTimer, TimerHandle};
2020
/// A future representing the notification that an elapsed duration has
2121
/// occurred.
2222
///
23-
/// This is created through the `Delay::new` or `Delay::new_at` methods
24-
/// indicating when the future should fire at. Note that these futures are not
25-
/// intended for high resolution timers, but rather they will likely fire some
26-
/// granularity after the exact instant that they're otherwise indicated to
27-
/// fire at.
23+
/// This is created through the `Delay::new` method indicating when the future should fire.
24+
/// Note that these futures are not intended for high resolution timers, but rather they will
25+
/// likely fire some granularity after the exact instant that they're otherwise indicated to fire
26+
/// at.
2827
pub struct Delay {
2928
state: Option<Arc<Node<ScheduledTimer>>>,
3029
when: Instant,

0 commit comments

Comments
 (0)