fix(maybe): correct `apply/2` typespec

Co-authored-by: ieQu1 <99872536+ieQu1@users.noreply.github.com>
This commit is contained in:
Andrew Mayorov 2023-05-16 16:26:26 +03:00 committed by GitHub
parent 84db57f8df
commit be3a0ce974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ define(Term, _) ->
Term.
%% @doc Apply a function to a maybe argument.
-spec apply(fun((maybe(A)) -> maybe(A)), maybe(A)) ->
-spec apply(fun((A) -> maybe(A)), maybe(A)) ->
maybe(A).
apply(_Fun, undefined) ->
undefined;