Fix clippy suggestion
Browse files at this commitd8626fcab0d6f0080d34df7953e3348780cfc39bParent: f4e04ac1 changed file +1 -3
- src/input.rs +1 -3
src/input.rsmodified+1 -3
| @@ -1318,9 +1318,7 @@ fn action( | |||
| 1318 | comp_mod = Modifiers::empty(); | 1318 | comp_mod = Modifiers::empty(); |
| 1319 | } | 1319 | } |
| 1320 | 1320 | ||
| 1321 | - let Some(raw) = raw else { | 1321 | + let raw = raw?; |
| 1322 | - return None; | ||
| 1323 | - }; | ||
| 1324 | 1322 | ||
| 1325 | for bind in &bindings.0 { | 1323 | for bind in &bindings.0 { |
| 1326 | if bind.key.keysym != raw { | 1324 | if bind.key.keysym != raw { |