From 461e33c138251b8bff6f1032b38cd7ef3420bb41 Mon Sep 17 00:00:00 2001 From: Robert Attard Date: Fri, 30 Jul 2021 16:03:32 -0400 Subject: comment change list to iterator --- src/gleam/iterator.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gleam/iterator.gleam b/src/gleam/iterator.gleam index a4d5888..32bc960 100644 --- a/src/gleam/iterator.gleam +++ b/src/gleam/iterator.gleam @@ -1097,7 +1097,7 @@ fn do_try_fold( /// /// /// The folding function should return `Result(accumulator, error) -/// If the returned value is `Ok(accumulator)` try_fold will try the next value in the list. +/// If the returned value is `Ok(accumulator)` try_fold will try the next value in the iterator. /// If the returned value is `Error(error)` try_fold will stop and return that error. /// /// ## Examples -- cgit v1.2.3