Skip to content

Commit

Permalink
Disable missing_docs lint for new types created by EnumIter (Pete…
Browse files Browse the repository at this point in the history
  • Loading branch information
lo48576 authored and Peternator7 committed May 23, 2018
1 parent 179e8ea commit e2ed13a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strum_macros/src/enum_iter.rs
Expand Up @@ -54,6 +54,7 @@ pub fn enum_iter_inner(ast: &syn::DeriveInput) -> quote::Tokens {
arms.push(quote! { _ => ::std::option::Option::None });
let iter_name = syn::parse_str::<syn::Ident>(&format!("{}Iter", name)).unwrap();
quote!{
#[allow(missing_docs)]
#vis struct #iter_name #ty_generics {
idx: usize,
marker: ::std::marker::PhantomData #phantom_data,
Expand Down

0 comments on commit e2ed13a

Please sign in to comment.