clippy: allow collapsible match
clippy being annoying Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
@@ -62,6 +62,7 @@ pub struct Damus {
|
|||||||
|
|
||||||
fn handle_key_events(input: &egui::InputState, columns: &mut Columns) {
|
fn handle_key_events(input: &egui::InputState, columns: &mut Columns) {
|
||||||
for event in &input.raw.events {
|
for event in &input.raw.events {
|
||||||
|
#[allow(clippy::collapsible_match)]
|
||||||
if let egui::Event::Key {
|
if let egui::Event::Key {
|
||||||
key, pressed: true, ..
|
key, pressed: true, ..
|
||||||
} = event
|
} = event
|
||||||
|
|||||||
Reference in New Issue
Block a user