removed warnings for unused argument
This commit is contained in:
parent
ebf1a7726e
commit
67486f0042
@ -63,7 +63,7 @@ impl TagList {
|
|||||||
match &self.typ {
|
match &self.typ {
|
||||||
Type::Status(_) => (),
|
Type::Status(_) => (),
|
||||||
Type::Repo(tags) => match tags.next_page() {
|
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),
|
Ok(tags) => self.typ = Type::Repo(tags),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ impl TagList {
|
|||||||
match &self.typ {
|
match &self.typ {
|
||||||
Type::Status(_) => (),
|
Type::Status(_) => (),
|
||||||
Type::Repo(tags) => match tags.prev_page() {
|
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),
|
Ok(tags) => self.typ = Type::Repo(tags),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user