mirror of
https://github.com/danog/strum.git
synced 2024-11-26 20:14:40 +01:00
Merge branch 'jwodder-iter-traits'
This commit is contained in:
commit
62c1150844
@ -159,6 +159,8 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl #impl_generics ::core::iter::FusedIterator for #iter_name #ty_generics #where_clause { }
|
||||||
|
|
||||||
impl #impl_generics Clone for #iter_name #ty_generics #where_clause {
|
impl #impl_generics Clone for #iter_name #ty_generics #where_clause {
|
||||||
fn clone(&self) -> #iter_name #ty_generics {
|
fn clone(&self) -> #iter_name #ty_generics {
|
||||||
#iter_name {
|
#iter_name {
|
||||||
|
Loading…
Reference in New Issue
Block a user