Apply cargo clippy
This commit is contained in:
+4
-5
@@ -235,12 +235,11 @@ fn main() {
|
||||
|
||||
// polling and handling the events received by the window
|
||||
for event in events {
|
||||
match event {
|
||||
glutin::event::Event::WindowEvent { event, .. } => match event {
|
||||
if let glutin::event::Event::WindowEvent { event, .. } = event {
|
||||
match event {
|
||||
glutin::event::WindowEvent::CloseRequested => action = support::Action::Stop,
|
||||
ev => camera.process_input(&ev),
|
||||
},
|
||||
_ => (),
|
||||
ev => camera.process_input(ev),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user