We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef96336 commit 786efb2Copy full SHA for 786efb2
1 file changed
lib/elixir/lib/map_set.ex
@@ -55,9 +55,9 @@ defmodule MapSet do
55
56
@type value :: term
57
58
- # We don't use opaque because MapSets can be inlined,
+ # We don't use @opaque (or `:sets.set` which is opaque) because MapSets can be inlined,
59
# either via module attributes or by the compiler.
60
- @typep internal(value) :: :sets.set(value)
+ @typep internal(value) :: %{optional(value) => term()}
61
62
@type t(value) :: %__MODULE__{map: internal(value)}
63
@type t :: t(term)
0 commit comments