diff options
author | 2019-12-14 05:56:46 +0100 | |
---|---|---|
committer | 2019-12-14 05:56:46 +0100 | |
commit | d6c3da21f7fe7a79bcfbc2a180dc111e42300a04 (patch) | |
tree | bbe8e02712824cd0fe22028bd3072fbfce104d62 /examples/stopwatch.rs | |
parent | 293314405f5b8d4003db5ef8f428e659ae36872d (diff) | |
download | iced-d6c3da21f7fe7a79bcfbc2a180dc111e42300a04.tar.gz iced-d6c3da21f7fe7a79bcfbc2a180dc111e42300a04.tar.bz2 iced-d6c3da21f7fe7a79bcfbc2a180dc111e42300a04.zip |
Write docs for subscriptions and reorganize a bit
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 { .. } => { |