Skip to content

Commit 3b7613f

Browse files
committed
simplify uniq
1 parent 09d4cfe commit 3b7613f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir_sense/providers/suggestion.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ defmodule ElixirSense.Providers.Suggestion do
218218
|> Kernel.++(mods_and_funcs)
219219
|> Kernel.++(find_param_options(text_before, hint, imports, aliases, module, mods_and_funs))
220220
|> Kernel.++(find_typespecs(hint, aliases, module, scope))
221-
|> Enum.uniq_by(& &1)
221+
|> Enum.uniq()
222222
end
223223

224224
defp find_mods_funs_vars_attributes(

0 commit comments

Comments
 (0)