Skip to content

Commit b0218fa

Browse files
kickthekenjosevalim
authored andcommitted
Fix typo in Enum doctest (#6228)
1 parent a701cc8 commit b0218fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/enum.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ defmodule Enum do
15671567
iex> Enum.min_max_by(["aaa", "a", "bb", "c", "ccc"], &String.length/1)
15681568
{"a", "aaa"}
15691569
1570-
iex> Enum.min_max_by([], &String.lenth/1, fn -> {nil, nil} end)
1570+
iex> Enum.min_max_by([], &String.length/1, fn -> {nil, nil} end)
15711571
{nil, nil}
15721572
15731573
"""

0 commit comments

Comments
 (0)