Skip to content

Commit

Permalink
Merge #1702
Browse files Browse the repository at this point in the history
1702: Allow missing docs on arg_enum r=pksunkara a=cecton



Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
  • Loading branch information
bors[bot] and cecton committed Feb 21, 2020
2 parents cc79c43 + 35b918b commit 869ecb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ macro_rules! arg_enum {
}
impl $e {
#[allow(dead_code)]
#[allow(missing_docs)]
pub fn variants() -> [&'static str; $crate::_clap_count_exprs!($(stringify!($v)),+)] {
[
$(stringify!($v),)+
Expand Down

0 comments on commit 869ecb1

Please sign in to comment.