Skip to content
Permalink
Browse files
Fix typos spotted by GitHub user kianmeng
  • Loading branch information
davisp committed Feb 22, 2022
1 parent f8c6612 commit b5f3d087cffcbcae5c6702bd0da00fb46cdfd9e7
Showing 2 changed files with 2 additions and 2 deletions.
@@ -77,7 +77,7 @@ loose_decode(Bin, O, Acc) ->
<<_:O/binary, _:8/integer, R/binary>> ->
% Broken lead or continuation byte. Discard first
% byte and all broken continuations. Replace the
% whole mess with a replacment code point.
% whole mess with a replacement code point.
T = 1 + count_continuation_bytes(R, 0),
loose_decode(Bin, O+T, [16#FFFD | Acc])
end.
@@ -38,7 +38,7 @@ dedupe_keys_test_() ->
{[{<<"foo">>, {[{<<"bar">>, 1}, {<<"bar">>, 2}]}}]},
{[{<<"foo">>, {[{<<"bar">>, 2}]}}]}
},
% Objets in arrays are handled
% Objects in arrays are handled
{
[{[{<<"foo">>, 1}, {<<"foo">>, 2}]}],
[{[{<<"foo">>, 2}]}]

0 comments on commit b5f3d08

Please sign in to comment.