[commit: packages/bytestring] master: Fix typo in `lazyByteString` documentation (a78a466)

git at git.haskell.org git at git.haskell.org
Mon Apr 17 21:32:10 UTC 2017


Repository : ssh://git@git.haskell.org/bytestring

On branch  : master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/a78a466881e210353a99819d7a07f62276a04c9e

>---------------------------------------------------------------

commit a78a466881e210353a99819d7a07f62276a04c9e
Author: Hardy Jones <jones3.hardy at gmail.com>
Date:   Sat Apr 15 21:35:45 2017 -0700

    Fix typo in `lazyByteString` documentation
    
    This was linking to the strict `ByteString` rather than the lazy `ByteString` in the haddocks.


>---------------------------------------------------------------

a78a466881e210353a99819d7a07f62276a04c9e
 Data/ByteString/Builder/Internal.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Data/ByteString/Builder/Internal.hs b/Data/ByteString/Builder/Internal.hs
index 90b35c6..268cb6a 100644
--- a/Data/ByteString/Builder/Internal.hs
+++ b/Data/ByteString/Builder/Internal.hs
@@ -968,7 +968,7 @@ byteString :: S.ByteString -> Builder
 byteString = byteStringThreshold maximalCopySize
 
 -- | Create a 'Builder' denoting the same sequence of bytes as a lazy
--- 'S.ByteString'.
+-- 'L.ByteString'.
 -- The 'Builder' inserts large chunks of the lazy 'L.ByteString' directly,
 -- but copies small ones to ensure that the generated chunks are large on
 -- average.



More information about the ghc-commits mailing list