Skip to content

Commit

Permalink
Improve docs after removal of base 430
Browse files Browse the repository at this point in the history
  • Loading branch information
elikoga committed Oct 10, 2020
1 parent cfb50f8 commit adffcd5
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Data/ByteString/Lazy.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1187,10 +1187,6 @@ copy cs = foldrChunks (Chunk . S.copy) Empty cs
--
-- The handle is closed on EOF.
--
-- Note: the 'Handle' should be placed in binary mode with
-- 'System.IO.hSetBinaryMode' for 'hGetContentsN' to
-- work correctly.
--
hGetContentsN :: Int -> Handle -> IO ByteString
hGetContentsN k h = lazyRead -- TODO close on exceptions
where
Expand Down Expand Up @@ -1249,10 +1245,6 @@ illegalBufferSize handle fn sz =
-- File handles are closed on EOF if all the file is read, or through
-- garbage collection otherwise.
--
-- Note: the 'Handle' should be placed in binary mode with
-- 'System.IO.hSetBinaryMode' for 'hGetContents' to
-- work correctly.
--
hGetContents :: Handle -> IO ByteString
hGetContents = hGetContentsN defaultChunkSize

Expand Down

0 comments on commit adffcd5

Please sign in to comment.