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 73e0773 commit b18d1c0Copy full SHA for b18d1c0
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