From 0af4fba68e489cff64c437209c9a000af4e37a70 Mon Sep 17 00:00:00 2001 From: Daniel Khaapamyaki Date: Thu, 23 Nov 2023 10:27:31 +0100 Subject: [PATCH] Fix matcher_fun typespec --- lib/infer.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/infer.ex b/lib/infer.ex index bf2c6a4..62a53be 100644 --- a/lib/infer.ex +++ b/lib/infer.ex @@ -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