File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -384,11 +384,10 @@ where
384
384
Some ( b'@' ) => {
385
385
match self . input . next_including_whitespace_and_comments ( ) {
386
386
Ok ( & Token :: AtKeyword ( ref name) ) => at_keyword = Some ( name. clone ( ) ) ,
387
- _ => at_keyword = None ,
388
- }
389
- // FIXME: move this back inside `match` when lifetimes are non-lexical
390
- if at_keyword. is_none ( ) {
391
- self . input . reset ( & start)
387
+ _ => {
388
+ at_keyword = None ;
389
+ self . input . reset ( & start)
390
+ } ,
392
391
}
393
392
}
394
393
Some ( _) => at_keyword = None ,
@@ -454,11 +453,10 @@ where
454
453
if input. next_byte ( ) == Some ( b'@' ) {
455
454
match * input. next_including_whitespace_and_comments ( ) ? {
456
455
Token :: AtKeyword ( ref name) => at_keyword = Some ( name. clone ( ) ) ,
457
- _ => at_keyword = None ,
458
- }
459
- // FIXME: move this back inside `match` when lifetimes are non-lexical
460
- if at_keyword. is_none ( ) {
461
- input. reset ( & start)
456
+ _ => {
457
+ at_keyword = None ;
458
+ input. reset ( & start)
459
+ } ,
462
460
}
463
461
} else {
464
462
at_keyword = None
You can’t perform that action at this time.
0 commit comments