diff --git a/strum_macros/src/macros/enum_iter.rs b/strum_macros/src/macros/enum_iter.rs index 515160c..85bdaf3 100644 --- a/strum_macros/src/macros/enum_iter.rs +++ b/strum_macros/src/macros/enum_iter.rs @@ -67,7 +67,7 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result { let iter_name = syn::parse_str::(&format!("{}Iter", name)).unwrap(); Ok(quote! { - #[allow(missing_docs)] + #[doc = "An iterator over the variants of [Self]"] #vis struct #iter_name #ty_generics { idx: usize, back_idx: usize,