Skip to content

Commit

Permalink
Rollup merge of rust-lang#80129 - pierwill:patch-6, r=estebank
Browse files Browse the repository at this point in the history
docs: Edit rustc_ast::token::Token

Add missing punctuation.
  • Loading branch information
Dylan-DPC authored Dec 19, 2020
2 parents 825658b + 30c9307 commit 79ff5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_ast/src/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 79ff5d7

Please sign in to comment.