We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Instant::into_std
futures::time
1 parent 50452e6 commit 09ea73bCopy full SHA for 09ea73b
1 file changed
futures/src/time.rs
@@ -81,6 +81,6 @@ where
81
tokio::time::interval_at(start, self.0)
82
};
83
84
- stream.map(|_| std::time::Instant::now()).boxed()
+ stream.map(tokio::time::Instant::into_std).boxed()
85
}
86
0 commit comments