We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9713cd9 commit 52f6939Copy full SHA for 52f6939
src/macros.rs
@@ -71,6 +71,15 @@ macro_rules! values_t_or_exit {
71
};
72
}
73
74
+#[deprecated(since = "3.0.0", note = "Replaced with `ArgEnum`")]
75
+#[doc(hidden)]
76
+#[macro_export]
77
+macro_rules! _clap_count_exprs {
78
+ () => { 0 };
79
+ ($e:expr) => { 1 };
80
+ ($e:expr, $($es:expr),+) => { 1 + $crate::_clap_count_exprs!($($es),*) };
81
+}
82
+
83
/// Deprecated, replaced with [`ArgEnum`][crate::ArgEnum]
84
#[deprecated(since = "3.0.0", note = "Replaced with `ArgEnum`")]
85
#[doc(hidden)]
0 commit comments