From c993d882ccf23bbe1fcc5e792d3ba23e179d0200 Mon Sep 17 00:00:00 2001 From: Brian Hicks Date: Wed, 7 Sep 2022 15:06:50 -0500 Subject: [PATCH] remove reference to into_iter --- crates/roc_std/src/roc_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/roc_std/src/roc_list.rs b/crates/roc_std/src/roc_list.rs index fc4247f459..b2bcae8565 100644 --- a/crates/roc_std/src/roc_list.rs +++ b/crates/roc_std/src/roc_list.rs @@ -56,7 +56,7 @@ impl RocList { } pub fn iter(&self) -> impl Iterator { - self.into_iter() + self.as_slice().iter() } /// Used for both roc_alloc and roc_realloc - given the number of elements,