Use Instant::into_std
in futures::time
This commit is contained in:
parent
50452e62b4
commit
09ea73bd2a
@ -81,6 +81,6 @@ where
|
|||||||
tokio::time::interval_at(start, self.0)
|
tokio::time::interval_at(start, self.0)
|
||||||
};
|
};
|
||||||
|
|
||||||
stream.map(|_| std::time::Instant::now()).boxed()
|
stream.map(tokio::time::Instant::into_std).boxed()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user