Skip to content

Commit 9058d2a

Browse files
authored
Merge pull request #1062 from MangoIV/mangoiv/fix-docs-decode
[fix] fix the documentation for `decode`
2 parents db36c30 + ebb8fb1 commit 9058d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Aeson/Decoding.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ throwDecodeStrict bs = unResult (toResultValue (bsToTokens bs)) (throwM . AesonE
5959
-- Decoding: lazy bytestring
6060
-------------------------------------------------------------------------------
6161

62-
-- | Efficiently deserialize a JSON value from a strict 'B.ByteString'.
62+
-- | Efficiently deserialize a JSON value from a lazy 'L.ByteString'.
6363
-- If this fails due to incomplete or invalid input, 'Nothing' is
6464
-- returned.
6565
decode :: (A.FromJSON a) => L.ByteString -> Maybe a

0 commit comments

Comments
 (0)