Преглед изворни кода

Fixed wrong jiffy:decode/2 spec

pull/119/head
Yakov пре 9 година
родитељ
комит
8eb8f3ebf3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/jiffy.erl

+ 1
- 1
src/jiffy.erl Прегледај датотеку

@ -61,7 +61,7 @@ decode(Data) ->
decode(Data, []).
-spec decode(iolist() | binary(), decode_options()) -> json_value().
-spec decode(iolist() | binary(), decode_options()) -> jiffy_decode_result().
decode(Data, Opts) when is_binary(Data), is_list(Opts) ->
case nif_decode_init(Data, Opts) of
{error, _} = Error ->

Loading…
Откажи
Сачувај