Skip to content

Commit

Permalink
Remove incorrect plural
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Oct 6, 2020
1 parent 83d294f commit 8eaf0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/num/error.rs
Expand Up @@ -110,7 +110,7 @@ pub enum IntErrorKind {
/// would be illegal for non-zero types.
#[stable(feature = "int_error_matching", since = "1.47.0")]
Zero,
/// The value contains nothing other than signs `+` or `-`.
/// The value contains nothing other than sign `+` or `-`.
#[stable(feature = "int_error_matching", since = "1.47.0")]
OnlySign,
}
Expand All @@ -135,7 +135,7 @@ impl ParseIntError {
IntErrorKind::PosOverflow => "number too large to fit in target type",
IntErrorKind::NegOverflow => "number too small to fit in target type",
IntErrorKind::Zero => "number would be zero for non-zero type",
IntErrorKind::OnlySign => "only signs without digits found in string",
IntErrorKind::OnlySign => "only sign without digits found in string",
}
}
}
Expand Down

0 comments on commit 8eaf0de

Please sign in to comment.