Skip to content

Commit dd42dd8

Browse files
stevencch99josevalim
authored andcommitted
Fix typo around Enum.slide/3 in the Enum cheatsheet (#13053)
1 parent ed1ddfd commit dd42dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/pages/cheatsheets/enum-cheat.cheatmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ fruits = ["apple", "banana", "grape", "orange", "pear"]
707707
iex> Enum.slide(fruits, 2, 0)
708708
["grape", "apple", "banana", "orange", "pear"]
709709
iex> Enum.slide(fruits, 2, 4)
710-
["apple", "banana", "orange", "pear", "grape", ]
710+
["apple", "banana", "orange", "pear", "grape"]
711711
iex> Enum.slide(fruits, 1..3, 0)
712712
["banana", "grape", "orange", "apple", "pear"]
713713
iex> Enum.slide(fruits, 1..3, 4)

0 commit comments

Comments
 (0)