this branch is unreachable
This commit is contained in:
@@ -245,10 +245,7 @@ impl<R: BufRead> Tokenizer<R> {
|
|||||||
})));
|
})));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
0 => {
|
0 => unreachable!(),
|
||||||
self.tokens.push_back(Err(TokenizeError::InvalidCharacter(c)));
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_ => {
|
_ => {
|
||||||
let next = match iter.next_if(is_expected) {
|
let next = match iter.next_if(is_expected) {
|
||||||
Some(c) => c,
|
Some(c) => c,
|
||||||
|
|||||||
Reference in New Issue
Block a user