From 75eef3be9680dbe3300186b06e19eac7f9dfab4b Mon Sep 17 00:00:00 2001 From: Pavel Roskin <1317472+proski@users.noreply.github.com> Date: Wed, 25 Oct 2023 16:20:58 -0700 Subject: Fix typos --- alacritty/src/display/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alacritty/src/display/mod.rs') diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs index 2b5cc348..efd41c04 100644 --- a/alacritty/src/display/mod.rs +++ b/alacritty/src/display/mod.rs @@ -587,7 +587,7 @@ impl Display { } // XXX: this function must not call to any `OpenGL` related tasks. Renderer updates are - // performed in [`Self::process_renderer_update`] right befor drawing. + // performed in [`Self::process_renderer_update`] right before drawing. // /// Process update events. pub fn handle_update( @@ -1378,7 +1378,7 @@ impl Display { } } - /// Requst a new frame for a window on Wayland. + /// Request a new frame for a window on Wayland. fn request_frame(&mut self, scheduler: &mut Scheduler) { // Mark that we've used a frame. self.window.has_frame = false; @@ -1408,7 +1408,7 @@ impl Display { impl Drop for Display { fn drop(&mut self) { // Switch OpenGL context before dropping, otherwise objects (like programs) from other - // contexts might be deleted during droping renderer. + // contexts might be deleted when dropping renderer. self.make_current(); unsafe { ManuallyDrop::drop(&mut self.renderer); -- cgit