Skip to content

Commit

Permalink
fix(Macros): fixes a typo in a macro generated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
kbknapp committed Jul 20, 2015
1 parent 5d0f252 commit c9195c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)[..]
}))
Expand Down

0 comments on commit c9195c5

Please sign in to comment.