aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 e49334b..680b0b0 100644
--- a/src/gleam/list.gleam
+++ b/src/gleam/list.gleam
@@ -1260,7 +1260,7 @@ fn do_take_while(
///
/// ## Examples
///
-/// > take_while([1, 2, 3, 4], fun (x) { x < 3 })
+/// > take_while([1, 2, 3, 2, 4], fun (x) { x < 3 })
/// [1, 2]
///
pub fn take_while(