docs: Edit rustc_ast::token::Token
Add missing punctuation.
This commit is contained in:
parent
d23e084483
commit
30c9307bfc
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ impl Token {
|
||||||
|| self == &OpenDelim(Paren)
|
|| self == &OpenDelim(Paren)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns `true` if the token is any literal
|
/// Returns `true` if the token is any literal.
|
||||||
pub fn is_lit(&self) -> bool {
|
pub fn is_lit(&self) -> bool {
|
||||||
match self.kind {
|
match self.kind {
|
||||||
Literal(..) => true,
|
Literal(..) => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue