diff --git a/examples/open_window.rs b/examples/open_window.rs index 0d285ae..1ef4320 100644 --- a/examples/open_window.rs +++ b/examples/open_window.rs @@ -29,7 +29,7 @@ impl WindowHandler for OpenWindowExample { #[cfg(target_os = "macos")] match e { - MouseEvent::ButtonPressed { button, modifiers } => { + MouseEvent::ButtonPressed { .. } => { copy_to_clipboard(&"This is a test!") } _ => (),