Use cardinality-agnostic wording in error format.

Closes #1746.
This commit is contained in:
Sergio Benitez 2021-08-24 19:39:42 -07:00
parent 42a0fb8afe
commit dd43d68d28
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ impl crate::http::ext::IntoOwned for Errors<'_> {
impl fmt::Display for Errors<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "{} errors:", self.len())?;
write!(f, "{} error(s):", self.len())?;
for error in self.iter() {
write!(f, "\n{}", error)?;
}