diff --git a/winit-appkit/src/event.rs b/winit-appkit/src/event.rs index 27685ddf..434a1de7 100644 --- a/winit-appkit/src/event.rs +++ b/winit-appkit/src/event.rs @@ -115,7 +115,7 @@ pub(crate) fn create_key_event(ns_event: &NSEvent, is_press: bool, is_repeat: bo let logical_key = match text_with_all_modifiers.as_ref() { // Only checking for ctrl and cmd here, not checking for alt because we DO want to - // include its effect in the key. For example if -on the Germay layout- one + // include its effect in the key. For example if -on the German layout- one // presses alt+8, the logical key should be "{" // Also not checking if this is a release event because then this issue would // still affect the key release. diff --git a/winit-core/src/event.rs b/winit-core/src/event.rs index 4cbe41b7..17c7cfd6 100644 --- a/winit-core/src/event.rs +++ b/winit-core/src/event.rs @@ -763,7 +763,7 @@ pub struct KeyEvent { /// /// # Example /// - /// In games, you often want to ignore repated key events - this can be + /// In games, you often want to ignore repeated key events - this can be /// done by ignoring events where this property is set. /// /// ```no_run diff --git a/winit-core/src/window.rs b/winit-core/src/window.rs index 1cfe833c..3aa30e3d 100644 --- a/winit-core/src/window.rs +++ b/winit-core/src/window.rs @@ -1785,7 +1785,7 @@ pub enum ImeRequest { /// /// **Requesting to update data matching not enabled capabilities will result in update /// being ignored.** The winit backend in such cases is recommended to log a warning. This - /// appiles to both [`ImeRequest::Enable`] and [`ImeRequest::Update`]. For details on + /// applies to both [`ImeRequest::Enable`] and [`ImeRequest::Update`]. For details on /// capabilities refer to [`ImeCapabilities`]. /// /// To update the [`ImeCapabilities`], the IME must be disabled and then re-enabled. diff --git a/winit-win32/src/event_loop.rs b/winit-win32/src/event_loop.rs index bbcde829..fb137889 100644 --- a/winit-win32/src/event_loop.rs +++ b/winit-win32/src/event_loop.rs @@ -2546,7 +2546,7 @@ unsafe fn handle_raw_input(userdata: &ThreadMsgTargetData, data: RAWINPUT) { } enum PointerMoveKind { - /// Pointer enterd to the window. + /// Pointer entered the window. Enter, /// Pointer leaved the window client area. Leave,