1
0
Fork 0

format example again

This commit is contained in:
Billy Messenger 2020-09-13 18:48:18 -05:00
parent 225cbab22a
commit 3ff8a471f3

View file

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