From bcce5134e166dd618604f374eb06c95e9006487c Mon Sep 17 00:00:00 2001 From: DevJac Date: Wed, 1 Nov 2023 15:07:35 -0600 Subject: [PATCH] Fix typo in pre_present_notify docs Fix typo and other small grammar corrections. --- src/window.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/window.rs b/src/window.rs index 8251e927..87531e8a 100644 --- a/src/window.rs +++ b/src/window.rs @@ -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