Fix Enum.slide/3 example in cheatsheet (#13054)
This commit is contained in:
committed by
José Valim
parent
dd42dd8620
commit
eeba8e992d
@@ -711,7 +711,7 @@ iex> Enum.slide(fruits, 2, 4)
|
||||
iex> Enum.slide(fruits, 1..3, 0)
|
||||
["banana", "grape", "orange", "apple", "pear"]
|
||||
iex> Enum.slide(fruits, 1..3, 4)
|
||||
["banana", "pear", "grape", "orange", "apple"]
|
||||
["apple", "pear", "banana", "grape", "orange"]
|
||||
```
|
||||
|
||||
## Reversing
|
||||
|
||||
Reference in New Issue
Block a user