mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 23:23:14 -04:00
Fix recent CI failures (#3041)
* Fix new clippy lints * Fix nightly documentation warnings
This commit is contained in:
committed by
Kirill Chibisov
parent
5144337253
commit
647c320ca7
@@ -226,9 +226,7 @@ pub fn to_logical(key_char: Option<KeyMapChar>, keycode: Keycode) -> Key {
|
||||
let native = NativeKey::Android(keycode.into());
|
||||
|
||||
match key_char {
|
||||
Some(KeyMapChar::Unicode(c)) => {
|
||||
Key::Character(smol_str::SmolStr::from_iter([c].into_iter()))
|
||||
}
|
||||
Some(KeyMapChar::Unicode(c)) => Key::Character(smol_str::SmolStr::from_iter([c])),
|
||||
Some(KeyMapChar::CombiningAccent(c)) => Key::Dead(Some(c)),
|
||||
None | Some(KeyMapChar::None) => match keycode {
|
||||
// Using `BrowserHome` instead of `GoHome` according to
|
||||
|
||||
Reference in New Issue
Block a user