about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-30 13:37:01 +0900
committerGitHub <noreply@github.com>2021-01-30 13:37:01 +0900
commit5df611c5b18ecc9e82c9c3baf465e65e97555963 (patch)
tree5367e1f71deb85b429ef7b457dc643119677c172 /compiler/rustc_parse/src/parser
parent596b394d38d6445709f4418c234c4ec78c44c84f (diff)
parent718398ccafaa45ed6a08ec550155150b9564eeed (diff)
downloadrust-5df611c5b18ecc9e82c9c3baf465e65e97555963.tar.gz
rust-5df611c5b18ecc9e82c9c3baf465e65e97555963.zip
Rollup merge of #81515 - eltociear:patch-7, r=jonas-schievink
Fix typo in pat.rs

parentesized -> parenthesized
Diffstat (limited to 'compiler/rustc_parse/src/parser')
-rw-r--r--compiler/rustc_parse/src/parser/pat.rs2
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)) {