We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86d3d74 + b3942ec commit fee3b6fCopy full SHA for fee3b6f
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)
0 commit comments