Use Instant::into_std in futures::time
This commit is contained in:
parent
50452e62b4
commit
09ea73bd2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue