From d6c3da21f7fe7a79bcfbc2a180dc111e42300a04 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 14 Dec 2019 05:56:46 +0100 Subject: Write docs for subscriptions and reorganize a bit --- examples/stopwatch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/stopwatch.rs') 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 { + fn subscription(&self) -> Subscription { match self.state { State::Idle => Subscription::none(), State::Ticking { .. } => { -- cgit