Rollup merge of #80129 - pierwill:patch-6, r=estebank
docs: Edit rustc_ast::token::Token Add missing punctuation.
This commit is contained in:
commit
904c4c6df7
@ -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…
Reference in New Issue
Block a user