format example again
This commit is contained in:
parent
225cbab22a
commit
3ff8a471f3
|
@ -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),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue