Skip to content

Commit 1cea16e

Browse files
authored
Merge pull request #303 from elixir-lsp/codex/update-@type-t-definition-in-module_store.ex
Update ModuleStore type
2 parents 671c440 + 354d7b6 commit 1cea16e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir_sense/providers/plugins/module_store.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
defmodule ElixirSense.Providers.Plugins.ModuleStore do
22
@moduledoc """
3-
Caches the module list and a list of modules keyed by the behaviour they implement.
3+
Caches the module list and a set of modules keyed by the behaviour they implement.
44
"""
55
defstruct by_behaviour: %{}, list: [], plugins: []
66

77
@type t :: %__MODULE__{
8-
by_behaviour: %{optional(atom) => module},
8+
by_behaviour: %{optional(atom) => MapSet.t(module)},
99
list: list(module),
1010
plugins: list(module)
1111
}

0 commit comments

Comments
 (0)