diff options
| author | 2021-01-04 23:19:15 +0100 | |
|---|---|---|
| committer | 2021-01-04 23:20:40 +0100 | |
| commit | 09ea73bd2a43ecbcae56cb281aa8d0cce2d5f55d (patch) | |
| tree | 0a4400c51b6de0012e9afb76089ed371e0441e6c /futures | |
| parent | 50452e62b4df458d676fc95361b04ef2dd83aebf (diff) | |
| download | iced-09ea73bd2a43ecbcae56cb281aa8d0cce2d5f55d.tar.gz iced-09ea73bd2a43ecbcae56cb281aa8d0cce2d5f55d.tar.bz2 iced-09ea73bd2a43ecbcae56cb281aa8d0cce2d5f55d.zip | |
Use `Instant::into_std` in `futures::time`
Diffstat (limited to '')
| -rw-r--r-- | futures/src/time.rs | 2 | 
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()      }  } | 
