From e1aab365046d308d9e29f4d8d8683de7673b965a Mon Sep 17 00:00:00 2001 From: Matthew Craven Date: Wed, 14 Feb 2024 22:58:40 -0500 Subject: [PATCH] Add deprecated-since info to docstrings --- Data/ByteString/Builder/Prim.hs | 4 ++++ 1 file changed, 4 insertions(+) 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