mirror of
https://github.com/clap-rs/clap
synced 2024-11-15 17:08:00 +00:00
Merge pull request #4076 from cnpryer/tutorial-builder
Fix enum example comment
This commit is contained in:
commit
fb9dca0a0c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ enum Mode {
|
|||
Slow,
|
||||
}
|
||||
|
||||
// Can also be derived] with feature flag `derive`
|
||||
// Can also be derived with feature flag `derive`
|
||||
impl ValueEnum for Mode {
|
||||
fn value_variants<'a>() -> &'a [Self] {
|
||||
&[Mode::Fast, Mode::Slow]
|
||||
|
|
Loading…
Reference in a new issue