Cleanup.
This commit is contained in:
parent
d9cf601ae8
commit
460bf55f8a
2 changed files with 11 additions and 12 deletions
|
@ -488,7 +488,7 @@ pub fn parse(sess: &ParseSess, tts: TokenStream, ms: &[TokenTree], directory: Op
|
|||
fn parse_nt<'a>(p: &mut Parser<'a>, sp: Span, name: &str) -> Nonterminal {
|
||||
match name {
|
||||
"tt" => {
|
||||
return token::NtTT(panictry!(p.parse_token_tree()));
|
||||
return token::NtTT(p.parse_token_tree());
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue