diff options
Diffstat (limited to 'examples/todos/src')
-rw-r--r-- | examples/todos/src/main.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index cfd9dcb7..5479957a 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -55,10 +55,7 @@ enum Message { impl Todos { fn load() -> Command<Message> { - Command::batch(vec![Command::perform( - SavedState::load(), - Message::Loaded, - )]) + Command::perform(SavedState::load(), Message::Loaded) } fn title(&self) -> String { |