Skip to content

Commit dc5fe48

Browse files
author
José Valim
committed
Merge pull request #1208 from mururu/fix-spec
Fix Enum.uniq/2 spec
2 parents 6ef10d4 + 155b937 commit dc5fe48

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
@@ -946,7 +946,7 @@ defmodule Enum do
946946
947947
"""
948948
@spec uniq(t) :: list
949-
@spec uniq(t, (element -> term)) :: boolean
949+
@spec uniq(t, (element -> term)) :: list
950950
def uniq(collection, fun // fn x -> x end)
951951

952952
def uniq(collection, fun) when is_list(collection) do

0 commit comments

Comments
 (0)