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
jonas-schievink committed Jan 29, 2021
2 parents cf02fc0 + 718398c commit 051feb6
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 051feb6

Please sign in to comment.