Skip to content

Commit 104942d

Browse files
committed
Merge branch 'maint'
* maint: Fix json:decode_continue/2 spec
2 parents 86442aa + efa554e commit 104942d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/stdlib/src/json.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ there is no more data, use `end_of_input` instead of a binary.
981981
```
982982
""".
983983
-doc(#{since => <<"OTP 27.0">>}).
984-
-spec decode_continue(binary() | end_of_input, Opaque::term()) ->
984+
-spec decode_continue(binary() | end_of_input, State :: continuation_state()) ->
985985
{Result :: dynamic(), Acc :: dynamic(), binary()} | {continue, continuation_state()}.
986986
decode_continue(end_of_input, State) ->
987987
case State of

0 commit comments

Comments
 (0)