Skip to content

Commit

Permalink
Rollup merge of #81515 - eltociear:patch-7, r=jonas-schievink
Browse files Browse the repository at this point in the history
Fix typo in pat.rs

parentesized -> parenthesized
  • Loading branch information
JohnTitor authored Jan 30, 2021
2 parents 596b394 + 718398c commit 5df611c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/pat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl<'a> Parser<'a> {
Err(err)
}

/// Parse and throw away a parentesized comma separated
/// Parse and throw away a parenthesized comma separated
/// sequence of patterns until `)` is reached.
fn skip_pat_list(&mut self) -> PResult<'a, ()> {
while !self.check(&token::CloseDelim(token::Paren)) {
Expand Down

0 comments on commit 5df611c

Please sign in to comment.