diff options
Diffstat (limited to 'examples/stopwatch.rs')
-rw-r--r-- | examples/stopwatch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stopwatch.rs b/examples/stopwatch.rs index 0d52a091..7a7f0793 100644 --- a/examples/stopwatch.rs +++ b/examples/stopwatch.rs @@ -74,7 +74,7 @@ impl Application for Stopwatch { Command::none() } - fn subscriptions(&self) -> Subscription<Message> { + fn subscription(&self) -> Subscription<Message> { match self.state { State::Idle => Subscription::none(), State::Ticking { .. } => { |