forge
Explore
Log in

Don't you dare go Hollow

Fix Clippy warning

Browse files at this commit

c39b8a4981830a6bee86fec59f3559fbc5dcded2Ivan MolodetskikhParent: bc64452
src/input.rsmodified+5 -3
@@ -993,9 +993,11 @@ mod tests {
993 )993 )
994 };994 };
995 995
996- let mut mods = ModifiersState::default();996+ let mut mods = ModifiersState {
997- mods.logo = true;997+ logo: true,
998- mods.ctrl = true;998+ ctrl: true,
999+ ..Default::default()
1000+ };
999 1001
1000 // Action press/release.1002 // Action press/release.
1001 1003