mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
remove reference to into_iter
This commit is contained in:
parent
c1ae2fe8b7
commit
c993d882cc
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ impl<T> RocList<T> {
|
|||
}
|
||||
|
||||
pub fn iter(&self) -> impl Iterator<Item = &T> {
|
||||
self.into_iter()
|
||||
self.as_slice().iter()
|
||||
}
|
||||
|
||||
/// Used for both roc_alloc and roc_realloc - given the number of elements,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue