diff options
| author | pierwill <19642016+pierwill@users.noreply.github.com> | 2020-12-17 11:55:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-17 11:55:49 -0800 |
| commit | 30c9307bfc9e57d9901cbd0efe792f321ad2b48b (patch) | |
| tree | 4c02516d5602b77e00f20cc6f5d5de076a7538ec | |
| parent | d23e08448332425a84ae23124bea4dbd685536ce (diff) | |
| download | rust-30c9307bfc9e57d9901cbd0efe792f321ad2b48b.tar.gz rust-30c9307bfc9e57d9901cbd0efe792f321ad2b48b.zip | |
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, |
