1
0
Fork 0

format example

This commit is contained in:
Billy Messenger 2020-09-13 18:44:53 -05:00
parent b2f2b2a251
commit 225cbab22a

View file

@ -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),
}