diff options
Diffstat (limited to '')
-rw-r--r-- | examples/stopwatch/src/main.rs (renamed from examples/stopwatch.rs) | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/stopwatch.rs b/examples/stopwatch/src/main.rs index 6e357039..d84c4817 100644 --- a/examples/stopwatch.rs +++ b/examples/stopwatch/src/main.rs @@ -143,6 +143,8 @@ impl Application for Stopwatch { } mod time { + use iced::futures; + pub fn every( duration: std::time::Duration, ) -> iced::Subscription<std::time::Instant> { |