aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph T. Lyons <JosephTLyons@gmail.com>2024-02-08 02:34:17 -0500
committerLouis Pilfold <louis@lpil.uk>2024-02-08 17:14:24 +0000
commitc9f3a84851c5b69b7af23133c10d922109bc7213 (patch)
treed03e9212fcefcb03f8c6c34e8ea5aae2f382e8fc /src
parentef9a6a50bf45ebeba257d2db7aa1116c348d4fb9 (diff)
downloadgleam_stdlib-c9f3a84851c5b69b7af23133c10d922109bc7213.tar.gz
gleam_stdlib-c9f3a84851c5b69b7af23133c10d922109bc7213.zip
Fix typo in iterator
Diffstat (limited to 'src')
-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 6be7c8d..954ee8a 100644
--- a/src/gleam/iterator.gleam
+++ b/src/gleam/iterator.gleam
@@ -19,7 +19,7 @@ type Action(element) {
/// fit in memory (or those that are infinite in size) as they only require the
/// elements currently being processed to be in memory.
///
-/// As a lazy data structure no work is done when an iterator is filters,
+/// As a lazy data structure no work is done when an iterator is filtered,
/// mapped, etc, instead a new iterator is returned with these transformations
/// applied to the stream. Once the stream has all the required transformations
/// applied it can be evaluated using functions such as `fold` and `to_list`.