diff options
| author | Ikko Ashimine <eltociear@gmail.com> | 2021-01-29 23:30:55 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-29 23:30:55 +0900 |
| commit | 718398ccafaa45ed6a08ec550155150b9564eeed (patch) | |
| tree | ab40f3e6dc8a71a8d9430359909ac7aaa11c7a94 /compiler/rustc_parse | |
| parent | c4e33b51c1a2d5e599b949fa3006467b88df253a (diff) | |
| download | rust-718398ccafaa45ed6a08ec550155150b9564eeed.tar.gz rust-718398ccafaa45ed6a08ec550155150b9564eeed.zip | |
Fix typo in pat.rs
parentesized -> parenthesized
Diffstat (limited to 'compiler/rustc_parse')
| -rw-r--r-- | compiler/rustc_parse/src/parser/pat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |
