File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3921,11 +3921,11 @@ defmodule Enum do
3921
3921
Returns the `enumerable` with each element wrapped in a tuple
3922
3922
alongside its index or according to a given function.
3923
3923
3924
- If an `offset` integer is given, it will index from the given offset instead of from
3925
- zero.
3924
+ If an integer offset is given as `fun_or_offset` , it will index from the given
3925
+ offset instead of from zero.
3926
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.
3927
+ If a function is given as `fun_or_offset` , it will index by invoking the function
3928
+ for each element and index (zero-based) of the enumerable.
3929
3929
3930
3930
## Examples
3931
3931
You can’t perform that action at this time.
0 commit comments