We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 786f959 commit 8539b5bCopy full SHA for 8539b5b
lib/elixir/lib/enum.ex
@@ -3921,11 +3921,11 @@ defmodule Enum do
3921
Returns the `enumerable` with each element wrapped in a tuple
3922
alongside its index or according to a given function.
3923
3924
- If an `offset` integer is given, it will index from the given offset instead of from
3925
- zero.
+ If an integer offset is given as `fun_or_offset`, it will index from the given
+ offset instead of from zero.
3926
3927
- If an `offset` function is given, it will index by invoking the function for each
3928
- element and index (zero-based) of the enumerable.
+ If a function is given as `fun_or_offset`, it will index by invoking the function
+ for each element and index (zero-based) of the enumerable.
3929
3930
## Examples
3931
0 commit comments