about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/mod.rs
diff options
context:
space:
mode:
authorr00ster91 <r00ster91@protonmail.com>2021-10-17 12:04:01 +0200
committerr00ster91 <r00ster91@protonmail.com>2021-10-17 12:04:01 +0200
commit3c1d55422a695204b70cbd23da582e3ab770a53c (patch)
tree117e18317340c4f10fb1c14a231cac30542531b1 /compiler/rustc_parse/src/parser/mod.rs
parent7fbd4ce2768744b3bd2ddf8453b73f4f18dbe5bc (diff)
downloadrust-3c1d55422a695204b70cbd23da582e3ab770a53c.tar.gz
rust-3c1d55422a695204b70cbd23da582e3ab770a53c.zip
Some "parenthesis" and "parentheses" fixes
Diffstat (limited to 'compiler/rustc_parse/src/parser/mod.rs')
-rw-r--r--compiler/rustc_parse/src/parser/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs
index 5c701fefd17..e50b983ec62 100644
--- a/compiler/rustc_parse/src/parser/mod.rs
+++ b/compiler/rustc_parse/src/parser/mod.rs
@@ -1258,7 +1258,7 @@ impl<'a> Parser<'a> {
     /// Parses `pub`, `pub(crate)` and `pub(in path)` plus shortcuts `crate` for `pub(crate)`,
     /// `pub(self)` for `pub(in self)` and `pub(super)` for `pub(in super)`.
     /// If the following element can't be a tuple (i.e., it's a function definition), then
-    /// it's not a tuple struct field), and the contents within the parentheses isn't valid,
+    /// it's not a tuple struct field), and the contents within the parentheses aren't valid,
     /// so emit a proper diagnostic.
     // Public for rustfmt usage.
     pub fn parse_visibility(&mut self, fbt: FollowedByType) -> PResult<'a, Visibility> {