summaryrefslogtreecommitdiffstats
path: root/glutin/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'glutin/src/application.rs')
-rw-r--r--glutin/src/application.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/glutin/src/application.rs b/glutin/src/application.rs
index da0af5c0..b7bf21c3 100644
--- a/glutin/src/application.rs
+++ b/glutin/src/application.rs
@@ -340,9 +340,8 @@ async fn run_instance<A, E, C>(
// TODO: Avoid redrawing all the time by forcing widgets to
// request redraws on state changes
//
- // Then, we can use the `interface_state` here to decide whether
- // if a redraw is needed right away, or simply wait until a
- // specific time.
+ // Then, we can use the `interface_state` here to decide if a redraw
+ // is needed right away, or simply wait until a specific time.
let redraw_event = Event::Window(
crate::window::Event::RedrawRequested(Instant::now()),
);