Merge pull request #4076 from cnpryer/tutorial-builder

Fix enum example comment
This commit is contained in:
Ed Page 2022-08-13 21:51:15 -05:00 committed by GitHub
commit fb9dca0a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]