From 4cd6877e8e19e7e1ba957a409394dca1af4afcdd Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Wed, 3 Apr 2024 00:38:55 +0200 Subject: [PATCH] Fix CI failing when updating `typos` to 1.20.3 (#3620) --- src/platform_impl/linux/x11/ime/input_method.rs | 2 +- typos.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platform_impl/linux/x11/ime/input_method.rs b/src/platform_impl/linux/x11/ime/input_method.rs index 44cb8164..5bce4b67 100644 --- a/src/platform_impl/linux/x11/ime/input_method.rs +++ b/src/platform_impl/linux/x11/ime/input_method.rs @@ -170,7 +170,7 @@ impl From for GetXimServersError { } // The root window has a property named XIM_SERVERS, which contains a list of atoms representing -// the availabile XIM servers. For instance, if you're using ibus, it would contain an atom named +// the available XIM servers. For instance, if you're using ibus, it would contain an atom named // "@server=ibus". It's possible for this property to contain multiple atoms, though presumably // rare. Note that we replace "@server=" with "@im=" in order to match the format of locale // modifiers, since we don't want a user who's looking at logs to ask "am I supposed to set diff --git a/typos.toml b/typos.toml index 8a398835..0dea884d 100644 --- a/typos.toml +++ b/typos.toml @@ -1,6 +1,7 @@ # documentation: https://github.com/crate-ci/typos/blob/master/docs/reference.md [default.extend-identifiers] -ptd = "ptd" # From winwows_sys::Win32::System::Com::FORMATETC { ptd, ..} +ptd = "ptd" # From windows_sys::Win32::System::Com::FORMATETC { ptd, ..} +TME_LEAVE = "TME_LEAVE" # From windows_sys::Win32::UI::Input::KeyboardAndMouse::TME_LEAVE requestor = "requestor" # From x11_dl::xlib::XSelectionEvent { requestor ..} XF86_Calculater = "XF86_Calculater" # From xkbcommon_dl::keysyms::XF86_Calculater