chore: field might not always need to be plural

This commit is contained in:
rvcas
2023-01-11 20:15:00 -05:00
committed by Lucas
parent 99a334b132
commit 59ef63b513

View File

@@ -62,7 +62,7 @@ pub enum Error {
given: usize,
},
#[error("I saw a pattern on a constructor that has {} fields be matched with {} arguments.\n", expected.purple(), given.len().purple())]
#[error("I saw a pattern on a constructor that has {} field(s) be matched with {} arguments.\n", expected.purple(), given.len().purple())]
IncorrectPatternArity {
location: Span,
expected: usize,