Concise-ify code
This commit is contained in:
parent
741e5f7f9b
commit
0dabbc700b
@ -451,11 +451,10 @@ impl Parser {
|
||||
use self::TokenType::*;
|
||||
let mut ds = String::new();
|
||||
loop {
|
||||
let xxx = self.next();
|
||||
match xxx {
|
||||
match self.next() {
|
||||
Underscore => continue,
|
||||
DigitGroup(ref s) => ds.push_str(s),
|
||||
x => break,
|
||||
_ => break,
|
||||
}
|
||||
}
|
||||
Ok(ds)
|
||||
|
Loading…
Reference in New Issue
Block a user