cleanup can_begin_const_arg
This commit is contained in:
parent
beddf67a4b
commit
49def0769c
1 changed files with 1 additions and 3 deletions
|
|
@ -381,9 +381,7 @@ impl Token {
|
|||
match self.kind {
|
||||
OpenDelim(Brace) => true,
|
||||
Interpolated(ref nt) => match **nt {
|
||||
NtExpr(..) => true,
|
||||
NtBlock(..) => true,
|
||||
NtLiteral(..) => true,
|
||||
NtExpr(..) | NtBlock(..) | NtLiteral(..) => true,
|
||||
_ => false,
|
||||
}
|
||||
_ => self.can_begin_literal_or_bool(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue