From 718398ccafaa45ed6a08ec550155150b9564eeed Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Fri, 29 Jan 2021 23:30:55 +0900 Subject: Fix typo in pat.rs parentesized -> parenthesized --- compiler/rustc_parse/src/parser/pat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/rustc_parse/src') diff --git a/compiler/rustc_parse/src/parser/pat.rs b/compiler/rustc_parse/src/parser/pat.rs index 456e32680fe..d888514cf56 100644 --- a/compiler/rustc_parse/src/parser/pat.rs +++ b/compiler/rustc_parse/src/parser/pat.rs @@ -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)) { -- cgit 1.4.1-3-g733a5