summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
Diffstat (limited to 'winit')
-rw-r--r--winit/src/application.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/winit/src/application.rs b/winit/src/application.rs
index 88179391..77ca4b31 100644
--- a/winit/src/application.rs
+++ b/winit/src/application.rs
@@ -401,9 +401,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()),
);