From b61db4d39dc9d04811077ca7ad39faf7c128ea0c Mon Sep 17 00:00:00 2001 From: Ted Driggs Date: Fri, 19 Jan 2024 16:28:03 -0800 Subject: [PATCH] Remove unnecessary into_iter() --- derive_builder_core/src/change_span.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }