From cf28751ae3d1fcf39aa25fe4d82cd654a56948e8 Mon Sep 17 00:00:00 2001 From: Ryan Goldstein Date: Sun, 23 Jun 2019 14:38:16 -0700 Subject: [PATCH] Remove unnecessary set-to-wait in example --- examples/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/window.rs b/examples/window.rs index b33b5984..eb87fa81 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -23,7 +23,7 @@ fn main() { event: WindowEvent::CloseRequested, .. } => *control_flow = ControlFlow::Exit, - _ => *control_flow = ControlFlow::Wait, + _ => () } }); }