Skip to content

Commit

Permalink
Merge pull request #3853 from dtolnay-contrib/valuevalidation
Browse files Browse the repository at this point in the history
Fix typo in ErrorKind::ValueValidation message
  • Loading branch information
epage authored Jun 17, 2022
2 parents ae78f88 + 690530a commit dabb571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error/kind.rs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ impl ErrorKind {
Self::UnrecognizedSubcommand => Some("A subcommand wasn't recognized"),
Self::EmptyValue => Some("An argument requires a value but none was supplied"),
Self::NoEquals => Some("Equal is needed when assigning values to one of the arguments"),
Self::ValueValidation => Some("Invalid for for one of the arguments"),
Self::ValueValidation => Some("Invalid value for one of the arguments"),
Self::TooManyValues => Some("An argument received an unexpected value"),
Self::TooFewValues => Some("An argument requires more values"),
Self::TooManyOccurrences => Some("An argument occurred too many times"),
Expand Down

0 comments on commit dabb571

Please sign in to comment.