mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
docs: Edit rustc_ast::token::Token
Add missing punctuation.
This commit is contained in:
parent
d23e084483
commit
30c9307bfc
@ -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…
Reference in New Issue
Block a user