docs: Edit rustc_ast::token::Token

Add missing punctuation.
This commit is contained in:
pierwill 2020-12-17 11:55:49 -08:00 committed by GitHub
parent d23e084483
commit 30c9307bfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,