diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-12-19 15:16:07 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-19 15:16:07 +0900 |
| commit | 904c4c6df789660c48b1f016dc7b090943cce09c (patch) | |
| tree | ef4ac634dab133bc942e1cdf446fbc469a2a4610 | |
| parent | dbcf659dce566a6cc0c9366b7588678ce57c956b (diff) | |
| parent | 30c9307bfc9e57d9901cbd0efe792f321ad2b48b (diff) | |
| download | rust-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.rs | 2 |
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, |
