removed unused warning

This commit is contained in:
Thomas Eppers 2021-09-14 16:45:55 +02:00
parent 4f0cd0423a
commit d097c41192

View File

@ -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),
},
}