Skip to content

Commit

Permalink
chore: cargo clippy --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Easyoakland committed Oct 26, 2023
1 parent b703126 commit 22211c8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/stream_tokens.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,7 @@ mod tests {
} else if once {
once = false;
None
} else if let Some(x) = it2.next() {
Some(x)
} else {
None
}
} else { it2.next() }
});
let mut tokens = StreamTokens::into_tokens(it);
assert!(tokens.tokens("hello".chars()));
Expand Down

0 comments on commit 22211c8

Please sign in to comment.