various: fix auto-fixable clippy lints
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I523cd8163d3995efa2f1e8475bbf87316a6a6964
This commit is contained in:
parent
8b2140c057
commit
ace9bcac8a
3 changed files with 3 additions and 3 deletions
|
|
@ -187,7 +187,7 @@ impl Iterator for VersionComparisonIterator {
|
|||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
let item = (self.left.pop_front(), self.right.pop_front());
|
||||
if let (None, None) = item {
|
||||
if item == (None, None) {
|
||||
None
|
||||
} else {
|
||||
Some(item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue