Prepare for initial crate release #1
Annotations
1 warning
src/event.rs#L26
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
--> src/event.rs:26:17
|
26 | / match (event.modifiers, event.code) {
27 | | (KeyModifiers::CONTROL, KeyCode::Char('c')) => {
28 | | app_exit.send_default();
29 | | }
30 | | _ => {}
31 | | }
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match
= note: `#[warn(clippy::single_match)]` on by default
help: try
|
26 ~ if let (KeyModifiers::CONTROL, KeyCode::Char('c')) = (event.modifiers, event.code) {
27 + app_exit.send_default();
28 + }
|
|
The logs for this run have expired and are no longer available.
Loading