Skip to content

Commit 4586461

Browse files
authored
Merge pull request #50 from async-rs/fix-docs
fix delay docs
2 parents d47bc45 + 39d5cba commit 4586461

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/delay.rs

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

0 commit comments

Comments
 (0)