Run cargo fmt and fix lints

This commit is contained in:
Héctor Ramón Jiménez 2025-02-02 17:50:12 +01:00
parent 7db5256b72
commit 0c6d4eb23f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
3 changed files with 17 additions and 23 deletions

View file

@ -186,10 +186,8 @@ where
WindowEvent::ModifiersChanged(new_modifiers) => {
self.modifiers = new_modifiers.state();
}
WindowEvent::Ime(ime) => {
if let Ime::Preedit(text, _) = ime {
self.preedit = text.clone();
}
WindowEvent::Ime(Ime::Preedit(text, _)) => {
self.preedit = text.clone();
}
#[cfg(feature = "debug")]
WindowEvent::KeyboardInput {