diff options
Diffstat (limited to '')
| -rw-r--r-- | examples/stopwatch/src/main.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/examples/stopwatch/src/main.rs b/examples/stopwatch/src/main.rs index d84c4817..5a54ed2b 100644 --- a/examples/stopwatch/src/main.rs +++ b/examples/stopwatch/src/main.rs @@ -30,8 +30,9 @@ enum Message {  impl Application for Stopwatch {      type Executor = iced_futures::executor::AsyncStd;      type Message = Message; +    type Flags = (); -    fn new() -> (Stopwatch, Command<Message>) { +    fn new(_flags: ()) -> (Stopwatch, Command<Message>) {          (              Stopwatch {                  duration: Duration::default(), | 
