Update Clippy to v1.73 (#3135)

This commit is contained in:
daxpedda
2023-10-08 01:21:46 +02:00
committed by Kirill Chibisov
parent 75ae402a24
commit 3923c59fd8
3 changed files with 7 additions and 7 deletions

View File

@@ -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(