summaryrefslogtreecommitdiffstats
path: root/ui/src/components/utilities.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2019-03-03 22:11:15 +0200
committerManos Pitsidianakis <el13635@mail.ntua.gr>2019-06-10 19:40:39 +0300
commit5e306130fb10e55a05985475b6e4f3a83903cf6f (patch)
tree4285bd720b7d690e88b6078c59da20b41b7f2039 /ui/src/components/utilities.rs
parentd4c64916f0efdad4774503e5bae4e86ba40770fa (diff)
Fix clippy warnings
Diffstat (limited to 'ui/src/components/utilities.rs')
-rw-r--r--ui/src/components/utilities.rs4
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(' ')) => {