From d13b4349992eee70ac34fc334f0ebff5a42b7df0 Mon Sep 17 00:00:00 2001 From: Micah Johnston Date: Sat, 16 Dec 2023 17:27:52 -0600 Subject: [PATCH] fix warnings in example --- examples/open_window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/open_window.rs b/examples/open_window.rs index 0d285ae2..1ef4320f 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!") } _ => (),