ci: add typos-cli

Given that typos are frequent and may appear in the public API spell
check code on CI.
This commit is contained in:
AmeKnite 2024-03-04 14:04:53 -06:00 committed by Kirill Chibisov
parent 4ade1a7518
commit b2f9fad654
7 changed files with 35 additions and 11 deletions

View file

@ -981,7 +981,7 @@ impl EventProcessor {
// Always update the modifiers when we're not replaying.
if !replay {
self.udpate_mods_from_core_event(window_id, xev.state as u16, &mut callback);
self.update_mods_from_core_event(window_id, xev.state as u16, &mut callback);
}
if keycode != 0 && !self.is_composing {
@ -1778,7 +1778,7 @@ impl EventProcessor {
self.send_modifiers(window_id, mods.into(), true, &mut callback)
}
pub fn udpate_mods_from_core_event<T: 'static, F>(
pub fn update_mods_from_core_event<T: 'static, F>(
&mut self,
window_id: crate::window::WindowId,
state: u16,