From 86209c93a3569c9c152bd8b1c66798a78a1b9317 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 10 Aug 2021 10:58:37 +0900 Subject: Appease clippy --- helix-term/src/ui/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term') diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 3fcd6921..487a1ce3 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -697,7 +697,7 @@ impl EditorView { impl Component for EditorView { fn handle_event(&mut self, event: Event, cx: &mut Context) -> EventResult { match event { - Event::Resize(width, height) => { + Event::Resize(_width, _height) => { // Ignore this event, we handle resizing just before rendering to screen. // Handling it here but not re-rendering will cause flashing EventResult::Consumed(None) -- cgit v1.2.3-70-g09d2