mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 22:32:33 +00:00
fix(Macros): fixes a typo in a macro generated error message
This commit is contained in:
parent
5d0f2520f8
commit
c9195c5f92
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ macro_rules! simple_enum {
|
|||
let v = vec![
|
||||
$(stringify!($v),)+
|
||||
];
|
||||
format!("valid:{}",
|
||||
format!("valid values:{}",
|
||||
v.iter().fold(String::new(), |a, i| {
|
||||
a + &format!(" {}", i)[..]
|
||||
}))
|
||||
|
|
Loading…
Reference in a new issue