From 232d91b96e74de797c041d2e822fc073d390cec9 Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Wed, 5 Oct 2022 22:22:18 +0900 Subject: [PATCH] docs: Describe the skip attribute for ValueEnums (#4328) Documenting the `skip` attribute for the `ValueEnum` derive macro promptly, as it's not mentioned anywhere else. Fixes #4327 --- src/_derive/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/_derive/mod.rs b/src/_derive/mod.rs index 653f076ce02..42f17824456 100644 --- a/src/_derive/mod.rs +++ b/src/_derive/mod.rs @@ -258,6 +258,7 @@ //! - When not present: case-converted field name is used //! - `help = `: [`PossibleValue::help`][crate::builder::PossibleValue::help] //! - When not present: [Doc comment summary](#doc-comments) +//! - `skip`: Ignore this variant //! //! ## Arg Types //!