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
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ impl Token {
|
|||
|| 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 {
|
||||
match self.kind {
|
||||
Literal(..) => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue