Skip to content

Commit 76894ba

Browse files
committed
Fix signature for dializer
1 parent 94634d5 commit 76894ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msgpack_packer.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ pack_map(M, Opt)->
345345
throw({badarg, M})
346346
end.
347347

348-
-spec pack_ext(any(), msgpack:ext_packer(), msgpack:options()) -> {ok, binary()}.
348+
-spec pack_ext(any(), msgpack:ext_packer(), msgpack:options()) -> {ok, binary()} | {error, any()}.
349349
pack_ext(Any, Packer, Opt) ->
350350
case Packer(Any, Opt) of
351351
{ok, {Type, Data}} when -16#80 =< Type andalso Type =< 16#7F ->

0 commit comments

Comments
 (0)