diff options
Diffstat (limited to '')
| -rw-r--r-- | examples/toast/src/main.rs | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs index 934049d5..31b6f191 100644 --- a/examples/toast/src/main.rs +++ b/examples/toast/src/main.rs @@ -539,7 +539,9 @@ mod toast {              clipboard: &mut dyn Clipboard,              shell: &mut Shell<'_, Message>,          ) -> event::Status { -            if let Event::Window(window::Event::RedrawRequested(now)) = &event { +            if let Event::Window(_, window::Event::RedrawRequested(now)) = +                &event +            {                  let mut next_redraw: Option<window::RedrawRequest> = None;                  self.instants.iter_mut().enumerate().for_each( | 
