From ca87b84da2878ecab644baf6f3ba11dde53f7668 Mon Sep 17 00:00:00 2001 From: Maximilian Roos <5635139+max-sixty@users.noreply.github.com> Date: Sat, 31 Aug 2024 22:45:07 -0700 Subject: [PATCH] Fix latest clippy (#574) --- insta/src/filters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insta/src/filters.rs b/insta/src/filters.rs index 5c64d1ad..6a576dd0 100644 --- a/insta/src/filters.rs +++ b/insta/src/filters.rs @@ -16,7 +16,7 @@ where I: IntoIterator, { fn from(value: I) -> Self { - Self::from_iter(value.into_iter()) + Self::from_iter(value) } }