chore: latest typos

This commit is contained in:
Kirill Chibisov 2025-11-01 19:56:29 +09:00
parent 7a21858d29
commit 779f52a21f
4 changed files with 4 additions and 4 deletions

View file

@ -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() { 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 // 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 "{" // presses alt+8, the logical key should be "{"
// Also not checking if this is a release event because then this issue would // Also not checking if this is a release event because then this issue would
// still affect the key release. // still affect the key release.

View file

@ -763,7 +763,7 @@ pub struct KeyEvent {
/// ///
/// # Example /// # 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. /// done by ignoring events where this property is set.
/// ///
/// ```no_run /// ```no_run

View file

@ -1785,7 +1785,7 @@ pub enum ImeRequest {
/// ///
/// **Requesting to update data matching not enabled capabilities will result in update /// **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 /// 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`]. /// capabilities refer to [`ImeCapabilities`].
/// ///
/// To update the [`ImeCapabilities`], the IME must be disabled and then re-enabled. /// To update the [`ImeCapabilities`], the IME must be disabled and then re-enabled.

View file

@ -2546,7 +2546,7 @@ unsafe fn handle_raw_input(userdata: &ThreadMsgTargetData, data: RAWINPUT) {
} }
enum PointerMoveKind { enum PointerMoveKind {
/// Pointer enterd to the window. /// Pointer entered the window.
Enter, Enter,
/// Pointer leaved the window client area. /// Pointer leaved the window client area.
Leave, Leave,