Skip to content

Commit

Permalink
docs(derive): Clarify value attributes are for PossibleValue
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Sep 12, 2023
1 parent 37ba607 commit db97a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_derive/_tutorial.rs
Expand Up @@ -165,7 +165,7 @@
//!
//! For example, if you have arguments of specific values you want to test for, you can derive
//! [`ValueEnum`][super#valueenum-attributes]
//! (any [`PossibleValue`] builder function can be used as variant attributes).
//! (any [`PossibleValue`] builder function can be used as a `#[value]` attribute on enum variants).
//!
//! This allows you specify the valid values for that argument. If the user does not use one of
//! those specific values, they will receive a graceful exit with error message informing them
Expand Down

0 comments on commit db97a2c

Please sign in to comment.