From c7ccb432ef174e2eeadafe19dfb8b7c978062dc8 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 11 Mar 2021 16:15:54 +0900 Subject: pass clippy lint --- helix-term/src/ui/popup.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helix-term') diff --git a/helix-term/src/ui/popup.rs b/helix-term/src/ui/popup.rs index 0dbb3a24..572c651b 100644 --- a/helix-term/src/ui/popup.rs +++ b/helix-term/src/ui/popup.rs @@ -80,14 +80,14 @@ impl Component for Popup { modifiers: KeyModifiers::CONTROL, } => { self.scroll(self.size.1 as usize / 2, true); - return EventResult::Consumed(None); + EventResult::Consumed(None) } KeyEvent { code: KeyCode::Char('u'), modifiers: KeyModifiers::CONTROL, } => { self.scroll(self.size.1 as usize / 2, false); - return EventResult::Consumed(None); + EventResult::Consumed(None) } _ => self.contents.handle_event(event, cx), } -- cgit v1.2.3-70-g09d2