Skip to content

Commit

Permalink
Allow enum count const to have missing docs (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand authored and Peternator7 committed Feb 18, 2019
1 parent e79a6fe commit e58053b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strum_macros/src/enum_count.rs
Expand Up @@ -24,7 +24,7 @@ pub(crate) fn enum_count_inner(ast: &syn::DeriveInput) -> TokenStream {
}
}

#[allow(dead_code)]
#[allow(dead_code, missing_docs)]
pub const #const_name: usize = #n;
}
}

0 comments on commit e58053b

Please sign in to comment.