Skip to content

Commit

Permalink
Fix OrdMap.t/2 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
sabiwara committed Jan 3, 2024
1 parent d021a0e commit 5ec5bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ord_map.ex
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ defmodule Aja.OrdMap do
@type value :: term
@typep index :: non_neg_integer
@typep internals(key, value) :: %__MODULE__{
__ord_map__: %{optional(key) => [index | value]},
__ord_map__: %{optional(key) => nonempty_improper_list(index, value)},
__ord_vector__: RawVector.t({key, value})
}

Expand Down

0 comments on commit 5ec5bdd

Please sign in to comment.