Skip to content

Commit 904c4c6

Browse files
authored
Rollup merge of #80129 - pierwill:patch-6, r=estebank
docs: Edit rustc_ast::token::Token Add missing punctuation.
2 parents dbcf659 + 30c9307 commit 904c4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ast/src/token.rs

Lines changed: 1 addition & 1 deletion
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)