mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
Small changes to examples
This commit is contained in:
@@ -11,7 +11,7 @@ fn main() {
|
|||||||
.build(&events_loop)
|
.build(&events_loop)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
events_loop.run(move |event, _, control_flow| {
|
events_loop.run(|event, _, control_flow| {
|
||||||
println!("{:?}", event);
|
println!("{:?}", event);
|
||||||
|
|
||||||
match event {
|
match event {
|
||||||
|
|||||||
Reference in New Issue
Block a user