Fix typo in pat.rs

parentesized -> parenthesized
This commit is contained in:
Ikko Ashimine 2021-01-29 23:30:55 +09:00 committed by GitHub
parent c4e33b51c1
commit 718398ccaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)) {