mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Update Clippy to v1.73 (#3135)
This commit is contained in:
committed by
Kirill Chibisov
parent
75ae402a24
commit
3923c59fd8
@@ -114,9 +114,9 @@ impl Dispatch<WlKeyboard, KeyboardData, WinitState> for WinitState {
|
||||
}
|
||||
WlKeyboardEvent::Key {
|
||||
key,
|
||||
state: key_state,
|
||||
state: WEnum::Value(WlKeyState::Pressed),
|
||||
..
|
||||
} if key_state == WEnum::Value(WlKeyState::Pressed) => {
|
||||
} => {
|
||||
let key = key + 8;
|
||||
|
||||
key_input(
|
||||
@@ -184,9 +184,9 @@ impl Dispatch<WlKeyboard, KeyboardData, WinitState> for WinitState {
|
||||
}
|
||||
WlKeyboardEvent::Key {
|
||||
key,
|
||||
state: key_state,
|
||||
state: WEnum::Value(WlKeyState::Released),
|
||||
..
|
||||
} if key_state == WEnum::Value(WlKeyState::Released) => {
|
||||
} => {
|
||||
let key = key + 8;
|
||||
|
||||
key_input(
|
||||
|
||||
Reference in New Issue
Block a user