Fix Clippy warning
Browse files at this commitc39b8a4981830a6bee86fec59f3559fbc5dcded2Parent: bc644521 changed file +5 -3
- src/input.rs +5 -3
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 | ||