From 225cbab22aee7dad355fea88bfd5b16b98d1aad7 Mon Sep 17 00:00:00 2001 From: Billy Messenger Date: Sun, 13 Sep 2020 18:44:53 -0500 Subject: [PATCH] format example --- examples/open_window.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/open_window.rs b/examples/open_window.rs index 6a1ac72..e67e14e 100644 --- a/examples/open_window.rs +++ b/examples/open_window.rs @@ -13,9 +13,7 @@ impl WindowHandler for MyProgram { fn on_event(&mut self, _window: &mut Window, event: Event) { match event { - Event::Mouse(e) => { - println!("Mouse event: {:?}", e); - }, + Event::Mouse(e) => { println!("Mouse event: {:?}", e); }, Event::Keyboard(e) => println!("Keyboard event: {:?}", e), Event::Window(e) => println!("Window event: {:?}", e), }