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
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ pub enum Error {
given: usize, 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 { IncorrectPatternArity {
location: Span, location: Span,
expected: usize, expected: usize,