aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Saxton <peterhsaxton@gmail.com>2020-06-07 13:25:02 +0100
committerLouis Pilfold <louis@lpil.uk>2020-06-07 15:26:00 +0100
commit17516f90eb47a8e78e0ffe1dc37eee363e8c58a0 (patch)
tree2a80a2fe0a705da842920bee0b57c699069bc7e3
parentf88c132f3407f85a4580968d149c0f53a50d06b6 (diff)
downloadgleam_stdlib-17516f90eb47a8e78e0ffe1dc37eee363e8c58a0.tar.gz
gleam_stdlib-17516f90eb47a8e78e0ffe1dc37eee363e8c58a0.zip
correct doc to result type
-rw-r--r--src/gleam/list.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam
index 351d466..a919d9c 100644
--- a/src/gleam/list.gleam
+++ b/src/gleam/list.gleam
@@ -213,7 +213,7 @@ fn do_filter_map(
}
/// Returns a new list containing only the elements from the first list for
-/// which the given functions returns `True`.
+/// which the given functions returns `Ok(_)`.
///
/// ## Examples
///