Skip to content

Commit

Permalink
Fix typespecs
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa1977 committed Mar 13, 2024
1 parent b22ad66 commit 235d8a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/boundary/mix/classifier.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ defmodule Boundary.Mix.Classifier do
%{classifier | boundaries: boundaries, modules: modules}
end

@spec classify(Boundary.classifier(), Application.app(), [module], [Boundary.t()]) :: Boundary.classifier()
@spec classify(Boundary.classifier(), Application.app(), Enumerable.t(module), [Boundary.t()]) ::
Boundary.classifier()
def classify(classifier, app, modules, boundaries) do
trie = build_trie(boundaries)

Expand Down
2 changes: 1 addition & 1 deletion lib/boundary/mix/compiler_state.ex
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ defmodule Boundary.Mix.CompilerState do
end
end

@spec encountered_modules(Application.app()) :: [module]
@spec encountered_modules(Application.app()) :: Enumerable.t(module)
def encountered_modules(app), do: ets_keys(modules_table(app))

defp module_metas(app) do
Expand Down

0 comments on commit 235d8a4

Please # to comment.