Skip to content

Commit

Permalink
Make comment unambiguous (elixir-lang#10568)
Browse files Browse the repository at this point in the history
The v2.0 could be interpretted as if it refering to the defstruct
version, which by the way it is already number 2.
  • Loading branch information
eksperimental authored Dec 13, 2020
1 parent 53246a5 commit 00b8dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/map_set.ex
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ defmodule MapSet do
@opaque t(value) :: %__MODULE__{map: %{optional(value) => []}}
@type t :: t(term)

# TODO: Remove version key on v2.0
# TODO: Remove version key on Elixir v2.0
defstruct map: %{}, version: 2

@doc """
Expand Down

0 comments on commit 00b8dd6

Please sign in to comment.