diff --git a/derive_builder_core/src/change_span.rs b/derive_builder_core/src/change_span.rs index 96a73a3..4800464 100644 --- a/derive_builder_core/src/change_span.rs +++ b/derive_builder_core/src/change_span.rs @@ -25,5 +25,5 @@ pub(crate) fn change_span(tokens: TokenStream, span: Span) -> TokenStream { } } } - FromIterator::from_iter(result.into_iter()) + FromIterator::from_iter(result) }