summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--futures/src/time.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/futures/src/time.rs b/futures/src/time.rs
index 7458af06..d015d2f0 100644
--- a/futures/src/time.rs
+++ b/futures/src/time.rs
@@ -81,6 +81,6 @@ where
tokio::time::interval_at(start, self.0)
};
- stream.map(|_| std::time::Instant::now()).boxed()
+ stream.map(tokio::time::Instant::into_std).boxed()
}
}