about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-19 15:16:07 +0900
committerGitHub <noreply@github.com>2020-12-19 15:16:07 +0900
commit904c4c6df789660c48b1f016dc7b090943cce09c (patch)
treeef4ac634dab133bc942e1cdf446fbc469a2a4610
parentdbcf659dce566a6cc0c9366b7588678ce57c956b (diff)
parent30c9307bfc9e57d9901cbd0efe792f321ad2b48b (diff)
downloadrust-904c4c6df789660c48b1f016dc7b090943cce09c.tar.gz
rust-904c4c6df789660c48b1f016dc7b090943cce09c.zip
Rollup merge of #80129 - pierwill:patch-6, r=estebank
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,