mirror of
https://github.com/danog/strum.git
synced 2024-11-26 20:14:40 +01:00
add allows to prevent lint errors (#231)
Co-authored-by: Peter Glotfelty <peter@glotfelty.us>
This commit is contained in:
parent
0ba53fff6c
commit
d8278db866
@ -66,6 +66,10 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
|
||||
|
||||
Ok(quote! {
|
||||
#[doc = "An iterator over the variants of [Self]"]
|
||||
#[allow(
|
||||
missing_copy_implementations,
|
||||
missing_debug_implementations,
|
||||
)]
|
||||
#vis struct #iter_name #ty_generics {
|
||||
idx: usize,
|
||||
back_idx: usize,
|
||||
|
Loading…
Reference in New Issue
Block a user