about summary refs log tree commit diff
diff options
context:
space:
mode:
authorpierwill <19642016+pierwill@users.noreply.github.com>2020-12-17 11:55:49 -0800
committerGitHub <noreply@github.com>2020-12-17 11:55:49 -0800
commit30c9307bfc9e57d9901cbd0efe792f321ad2b48b (patch)
tree4c02516d5602b77e00f20cc6f5d5de076a7538ec
parentd23e08448332425a84ae23124bea4dbd685536ce (diff)
downloadrust-30c9307bfc9e57d9901cbd0efe792f321ad2b48b.tar.gz
rust-30c9307bfc9e57d9901cbd0efe792f321ad2b48b.zip
docs: Edit rustc_ast::token::Token
Add missing punctuation.
-rw-r--r--compiler/rustc_ast/src/token.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast/src/token.rs b/compiler/rustc_ast/src/token.rs
index f583825fbb3..a74464937c8 100644
--- a/compiler/rustc_ast/src/token.rs
+++ b/compiler/rustc_ast/src/token.rs
@@ -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,