diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-12-18 19:56:14 -0800 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2021-01-12 19:25:50 -0800 |
| commit | a5e8e6ec2df58bd50963af57bbd08d0526f119db (patch) | |
| tree | 16658205711b74d5b15d6245d9da8dce3122fde1 /src/test/ui/error-codes | |
| parent | f3d9df54ee682d0b76909d27938b30c51ca5ec70 (diff) | |
| download | rust-a5e8e6ec2df58bd50963af57bbd08d0526f119db.tar.gz rust-a5e8e6ec2df58bd50963af57bbd08d0526f119db.zip | |
Pluralize 'parenthesis' correctly
It's 'parentheses', not 'parenthesis', when you have more than one.
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0023.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0023.stderr b/src/test/ui/error-codes/E0023.stderr index 1d32eab15d3..965cf28c79f 100644 --- a/src/test/ui/error-codes/E0023.stderr +++ b/src/test/ui/error-codes/E0023.stderr @@ -43,7 +43,7 @@ LL | Orange((String, String)), LL | Fruit::Orange(a, b) => {}, | ^^^^^^^^^^^^^^^^^^^ expected 1 field, found 2 | -help: missing parenthesis +help: missing parentheses | LL | Fruit::Orange((a, b)) => {}, | ^ ^ @@ -57,7 +57,7 @@ LL | Banana(()), LL | Fruit::Banana() => {}, | ^^^^^^^^^^^^^^^ expected 1 field, found 0 | -help: missing parenthesis +help: missing parentheses | LL | Fruit::Banana(()) => {}, | ^ ^ |
