Skip to content

Commit e4685dc

Browse files
committed
Merge pull request #4104 from KronicDeth/enum-sort-by-docs
Fix link to Kernel.<=/2 in Enum.sort_by/3 @doc
2 parents 076c8dc + e471e06 commit e4685dc

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
@@ -1909,7 +1909,7 @@ defmodule Enum do
19091909
19101910
This function maps each element of the enumerable using the `mapper`
19111911
function. The enumerable is then sorted by the mapped elements
1912-
using the `sorter` function, which defaults to `<=/2`
1912+
using the `sorter` function, which defaults to `Kernel.<=/2`
19131913
19141914
`sort_by/3` differs from `sort/2` in that it only calculates the
19151915
comparison value for each element in the enumerable once instead of

0 commit comments

Comments
 (0)