Skip to content

Commit

Permalink
docs: Fix typo in example 13a_enum_values_automatic
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 authored Oct 30, 2016
1 parent 6c11ccf commit c22fbc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/13a_enum_values_automatic.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// You can use clap's value_t! macro with a custom enum by implementing the std::str::FromStr
// trait which is very straight forward. There are three ways to do this, for simple enums
// meaning those that don't require 'pub' or any '#[derive()]' directives you can use clas's
// meaning those that don't require 'pub' or any '#[derive()]' directives you can use clap's
// simple_enum! macro. For those that require 'pub' or any '#[derive()]'s you can use clap's
// arg_enum! macro. The third way is to implement std::str::FromStr manually.
//
Expand Down

0 comments on commit c22fbc0

Please sign in to comment.