Skip to content

Commit 3d456aa

Browse files
committed
Merge branch 'master' into poll-recv-send-udp
2 parents 44b5d8c + 6d69a3e commit 3d456aa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/stream/interval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl Stream for Interval {
8585
/// While technically for large duration it's impossible to represent any
8686
/// duration as nanoseconds, the largest duration we can represent is about
8787
/// 427_000 years. Large enough for any interval we would use or calculate in
88-
/// tokio.
88+
/// async-std.
8989
fn duration_to_nanos(dur: Duration) -> Option<u64> {
9090
dur.as_secs()
9191
.checked_mul(1_000_000_000)

src/stream/stream/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ extension_trait! {
695695
# }) }
696696
```
697697
698-
An empty stream will return `None:
698+
An empty stream will return `None`:
699699
```
700700
# fn main() { async_std::task::block_on(async {
701701
#

0 commit comments

Comments
 (0)