Skip to content

Commit

Permalink
docs: Describe the skip attribute for ValueEnums (#4328)
Browse files Browse the repository at this point in the history
Documenting the `skip` attribute for the `ValueEnum` derive macro promptly, as it's not mentioned anywhere else.

Fixes #4327
  • Loading branch information
dnaka91 committed Oct 5, 2022
1 parent 9c21794 commit 232d91b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/_derive/mod.rs
Expand Up @@ -258,6 +258,7 @@
//! - When not present: case-converted field name is used
//! - `help = <expr>`: [`PossibleValue::help`][crate::builder::PossibleValue::help]
//! - When not present: [Doc comment summary](#doc-comments)
//! - `skip`: Ignore this variant
//!
//! ## Arg Types
//!
Expand Down

0 comments on commit 232d91b

Please sign in to comment.