more idiomatic code
This commit is contained in:
parent
1c72d4cd24
commit
28ae313797
@ -169,10 +169,9 @@ impl TagList {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//readd next page
|
//readd next page item
|
||||||
match self.tags.as_ref().unwrap().next_page().await {
|
if let Some(_) = self.tags.as_ref().unwrap().next_page().await {
|
||||||
None => (),
|
self.lines.push(next_page.unwrap());
|
||||||
Some(_) => self.lines.push(next_page.unwrap()),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user