diff options
-rw-r--r-- | src/gleam/list.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/list.gleam b/src/gleam/list.gleam index 07a6953..9172b97 100644 --- a/src/gleam/list.gleam +++ b/src/gleam/list.gleam @@ -582,7 +582,7 @@ fn do_index_fold( /// /// ``` /// ["a", "b", "c"] -/// |> list.index_fold([], fn(index, item, acc) { ... }) +/// |> list.index_fold([], fn(acc, item, index) { ... }) /// ``` /// pub fn index_fold( |