Rollup merge of #80129 - pierwill:patch-6, r=estebank

docs: Edit rustc_ast::token::Token

Add missing punctuation.
This commit is contained in:
Yuki Okushi 2020-12-19 15:16:07 +09:00 committed by GitHub
commit 904c4c6df7
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,