aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-10 01:58:37 +0000
committerBlaž Hrastnik2021-08-10 01:58:46 +0000
commit86209c93a3569c9c152bd8b1c66798a78a1b9317 (patch)
treeda6a51bc2eb1d6ba2bd3ba39a9d2c16c9f231d2f
parent21e5662125774c5f16b70be1173c673a4fdb1176 (diff)
Appease clippy
-rw-r--r--helix-term/src/ui/editor.rs2
1 files changed, 1 insertions, 1 deletions
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)