From 2f748e89aac44633c97f4cafef8802f4736c946a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Mon, 16 Jan 2023 09:01:20 -0700 Subject: [PATCH] Clippy cleanup on latest nightly: useless_conversion --- mockall_derive/src/mock_function.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/mockall_derive/src/mock_function.rs b/mockall_derive/src/mock_function.rs index 0c9dbfd1..1bfd8c57 100644 --- a/mockall_derive/src/mock_function.rs +++ b/mockall_derive/src/mock_function.rs @@ -269,7 +269,6 @@ impl<'a> Builder<'a> { let alifetimes = salifetimes.into_iter() .collect::>() .union(&malifetimes.into_iter().collect::>()) - .into_iter() .cloned() .collect();