Fix grammar of TODO comment in application modules

This commit is contained in:
Héctor Ramón Jiménez 2023-01-13 18:19:05 +01:00
parent b9c8c7b08d
commit 507820a843
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 4 additions and 6 deletions

View file

@ -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()),
);

View file

@ -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()),
);