Fix take_while example
Some checks are pending
test / test (push) Waiting to run

This commit is contained in:
Lily Rose 2025-08-09 19:02:33 +10:00
parent 62b4c61b8b
commit 08e473cf5d

View file

@ -509,7 +509,6 @@ pub fn iterate(
/// ```gleam
/// cycle([1, 2, 3, 2, 4])
/// |> take_while(satisfying: fn(x) { x < 3 })
/// |> take(2)
/// // -> [1, 2]
/// ```
///