Skip to content

Commit

Permalink
Fix typo in pre_present_notify docs
Browse files Browse the repository at this point in the history
Fix typo and other small grammar corrections.
  • Loading branch information
DevJac authored Nov 1, 2023
1 parent d333dd8 commit bcce513
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,11 +600,11 @@ impl Window {
self.window.maybe_queue_on_main(|w| w.request_redraw())
}

/// Notify the windowing system that you're before presenting to the window.
/// Notify the windowing system before presenting to the window.
///
/// You should call this event after you've done drawing operations, but before you submit
/// You should call this event after your drawing operations, but before you submit
/// the buffer to the display or commit your drawings. Doing so will help winit to properly
/// schedule and do assumptions about its internal state. For example, it could properly
/// schedule and make assumptions about its internal state. For example, it could properly
/// throttle [`WindowEvent::RedrawRequested`].
///
/// ## Example
Expand Down

0 comments on commit bcce513

Please sign in to comment.