We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 44b5d8c + 6d69a3e commit 3d456aaCopy full SHA for 3d456aa
src/stream/interval.rs
@@ -85,7 +85,7 @@ impl Stream for Interval {
85
/// While technically for large duration it's impossible to represent any
86
/// duration as nanoseconds, the largest duration we can represent is about
87
/// 427_000 years. Large enough for any interval we would use or calculate in
88
-/// tokio.
+/// async-std.
89
fn duration_to_nanos(dur: Duration) -> Option<u64> {
90
dur.as_secs()
91
.checked_mul(1_000_000_000)
src/stream/stream/mod.rs
@@ -695,7 +695,7 @@ extension_trait! {
695
# }) }
696
```
697
698
- An empty stream will return `None:
+ An empty stream will return `None`:
699
700
# fn main() { async_std::task::block_on(async {
701
#
0 commit comments