Rollup merge of #81515 - eltociear:patch-7, r=jonas-schievink

Fix typo in pat.rs

parentesized -> parenthesized
This commit is contained in:
Yuki Okushi 2021-01-30 13:37:01 +09:00 committed by GitHub
commit 5df611c5b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -240,7 +240,7 @@ fn maybe_recover_unexpected_comma(
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)) {