Skip to content

Commit 30c9307

Browse files
authored
docs: Edit rustc_ast::token::Token
Add missing punctuation.
1 parent d23e084 commit 30c9307

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/token.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ impl Token {
434434
|| self == &OpenDelim(Paren)
435435
}
436436

437-
/// Returns `true` if the token is any literal
437+
/// Returns `true` if the token is any literal.
438438
pub fn is_lit(&self) -> bool {
439439
match self.kind {
440440
Literal(..) => true,

0 commit comments

Comments
 (0)