mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
clippy again
This commit is contained in:
parent
22f53d1fe6
commit
949bc97ced
1 changed files with 2 additions and 3 deletions
|
|
@ -83,9 +83,8 @@ fn bench_lexer(criterion: &mut Criterion) {
|
|||
let tokenizer = Tokenizer::new();
|
||||
let mut scanner = Scanner::new(black_box(tokenizer));
|
||||
loop {
|
||||
match scanner.scan(black_box(qb)).unwrap() {
|
||||
(_, None, _) => break,
|
||||
_ => {}
|
||||
if let (_, None, _) = scanner.scan(black_box(qb)).unwrap() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue