Skip to content

Commit

Permalink
Yet another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
michalmuskala committed Feb 26, 2024
1 parent 1d1b075 commit eaed0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stdlib/src/json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ string(<<Byte, _/bits>>, Orig, Skip, _Acc, _Stack, _Decode, Len) when ?is_ascii_
string(<<Byte, Rest/bytes>>, Orig, Skip, Acc, Stack, Decode, Len) ->
case element(Byte - 127, utf8s0()) of
?UTF8_REJECT -> invalid_byte(Orig, Skip + Len);
%% all accept cases are ASCII, already covred above
%% all accept cases are ASCII, already covered above
State -> string_utf8(Rest, Orig, Skip, Acc, Stack, Decode, Len, State)
end;
string(_, Orig, Skip, _Acc, _Stack, _Decode, Len) ->
Expand Down

0 comments on commit eaed0f7

Please sign in to comment.