From 67486f00424fc47ccfa100848c4064c93f0534e0 Mon Sep 17 00:00:00 2001 From: Thomas Eppers Date: Thu, 23 Sep 2021 22:48:04 +0200 Subject: [PATCH] removed warnings for unused argument --- src/widget/tag_list.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget/tag_list.rs b/src/widget/tag_list.rs index 7de4408..dccdd6a 100644 --- a/src/widget/tag_list.rs +++ b/src/widget/tag_list.rs @@ -63,7 +63,7 @@ impl TagList { match &self.typ { Type::Status(_) => (), Type::Repo(tags) => match tags.next_page() { - Err(e) => return Err(Error::NoNextPage), + Err(_) => return Err(Error::NoNextPage), Ok(tags) => self.typ = Type::Repo(tags), }, } @@ -75,7 +75,7 @@ impl TagList { match &self.typ { Type::Status(_) => (), Type::Repo(tags) => match tags.prev_page() { - Err(e) => return Err(Error::NoPrevPage), + Err(_) => return Err(Error::NoPrevPage), Ok(tags) => self.typ = Type::Repo(tags), }, }