diff --git a/Data/ByteString/Builder/Prim.hs b/Data/ByteString/Builder/Prim.hs index d8171e0f9..76e24e794 100644 --- a/Data/ByteString/Builder/Prim.hs +++ b/Data/ByteString/Builder/Prim.hs @@ -667,6 +667,8 @@ primMapLazyByteStringBounded w = -- strings that are free of embedded (overlong-encoded as the two-byte sequence -- @0xC0 0x80@) null characters. -- +-- Deprecated since @bytestring-0.12.1.0@. +-- -- @since 0.11.0.0 {-# DEPRECATED cstring "Use asciiLiteralCopy instead" #-} cstring :: Addr# -> Builder @@ -677,6 +679,8 @@ cstring s = asciiLiteralCopy (Ptr s) (S.byteCountLiteral s) -- encoded strings that may contain embedded overlong-encodings (as the -- two-byte sequence @0xC0 0x80@) of null characters. -- +-- Deprecated since @bytestring-0.12.1.0@. +-- -- @since 0.11.0.0 {-# DEPRECATED cstringUtf8 "Use modUtf8LitCopy instead" #-} cstringUtf8 :: Addr# -> Builder