mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-11-11 14:34:31 +03:00
pass clippy lint
This commit is contained in:
parent
4acf301022
commit
c7ccb432ef
@ -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),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user