diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-03-03 22:11:15 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-06-10 19:40:39 +0300 |
commit | 5e306130fb10e55a05985475b6e4f3a83903cf6f (patch) | |
tree | 4285bd720b7d690e88b6078c59da20b41b7f2039 /ui/src/components/utilities.rs | |
parent | d4c64916f0efdad4774503e5bae4e86ba40770fa (diff) |
Fix clippy warnings
Diffstat (limited to 'ui/src/components/utilities.rs')
-rw-r--r-- | ui/src/components/utilities.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/utilities.rs b/ui/src/components/utilities.rs index cde01e22..a1a81a0a 100644 --- a/ui/src/components/utilities.rs +++ b/ui/src/components/utilities.rs @@ -397,7 +397,7 @@ impl Component for Pager { } context.dirty_areas.push_back(area); } - fn process_event(&mut self, event: &mut UIEvent, context: &mut Context) -> bool { + fn process_event(&mut self, event: &mut UIEvent, _context: &mut Context) -> bool { match event.event_type { UIEventType::Input(Key::Char('k')) => { if self.cursor_pos > 0 { @@ -937,7 +937,7 @@ impl Component for Selector { ); context.dirty_areas.push_back(area); } - fn process_event(&mut self, event: &mut UIEvent, context: &mut Context) -> bool { + fn process_event(&mut self, event: &mut UIEvent, _context: &mut Context) -> bool { let (width, height) = self.content.size(); match event.event_type { UIEventType::Input(Key::Char(' ')) => { |