aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Attard <robert.attard@mail.mcgill.ca>2021-07-30 16:03:32 -0400
committerLouis Pilfold <louis@lpil.uk>2021-08-11 20:36:55 +0100
commit461e33c138251b8bff6f1032b38cd7ef3420bb41 (patch)
tree9507c1a07553f04dc2c9c4caf38352ac60b49f76
parentf63090cfd03fc11e2a0f1536462e9d80cd0e620c (diff)
downloadgleam_stdlib-461e33c138251b8bff6f1032b38cd7ef3420bb41.tar.gz
gleam_stdlib-461e33c138251b8bff6f1032b38cd7ef3420bb41.zip
comment change list to iterator
-rw-r--r--src/gleam/iterator.gleam2
1 files changed, 1 insertions, 1 deletions
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