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() } }