Fix typo in pre_present_notify docs

Fix typo and other small grammar corrections.
This commit is contained in:
DevJac 2023-11-01 15:07:35 -06:00 committed by GitHub
parent d333dd8664
commit bcce5134e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -600,11 +600,11 @@ impl Window {
self.window.maybe_queue_on_main(|w| w.request_redraw()) 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 /// 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`]. /// throttle [`WindowEvent::RedrawRequested`].
/// ///
/// ## Example /// ## Example