Skip to content

Commit

Permalink
Fix matcher_fun typespec (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskycodes authored Nov 23, 2023
1 parent 65beb86 commit 094fc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/infer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Infer do
@type matcher_type() :: :app | :archive | :audio | :book | :image | :font | :text
@type mime_type() :: binary()
@type extension() :: binary()
@type matcher_fun() :: fun((binary() -> boolean()))
@type matcher_fun() :: (binary() -> boolean())
@type t() :: %{matcher_type: matcher_type(), mime_type: mime_type(), extension: extension(), matcher: matcher_fun()}
end

Expand Down

0 comments on commit 094fc4a

Please sign in to comment.