From 5af39948860123ea34f4aac4a58f88cc3f9cb619 Mon Sep 17 00:00:00 2001 From: James Harton Date: Tue, 28 May 2024 19:59:58 +1200 Subject: [PATCH] chore: clippy warning. --- native/scenic_renderer/src/script.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/scenic_renderer/src/script.rs b/native/scenic_renderer/src/script.rs index 6d928bf..e540a50 100644 --- a/native/scenic_renderer/src/script.rs +++ b/native/scenic_renderer/src/script.rs @@ -331,6 +331,6 @@ impl<'a> IntoIterator for &'a Script { type IntoIter = std::slice::Iter<'a, ScriptItem>; fn into_iter(self) -> Self::IntoIter { - self.0.as_slice().into_iter() + self.0.as_slice().iter() } }