Skip to content

Commit

Permalink
fix: clap_app! should be gated by unstable, not nightly feature
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Prouillet committed Jan 30, 2016
1 parent 3067a12 commit 0c8b84a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ macro_rules! crate_version {

/// App, Arg, SubCommand and Group builder macro (Usage-string like input) must be compiled with
/// the `unstable` feature in order to use.
#[cfg_attr(feature = "nightly", macro_export)]
#[cfg_attr(feature = "unstable", macro_export)]
macro_rules! clap_app {
(@app ($builder:expr)) => { $builder };
(@app ($builder:expr) (@arg $name:ident: $($tail:tt)*) $($tt:tt)*) => {
Expand Down

0 comments on commit 0c8b84a

Please sign in to comment.