Skip to content
Snippets Groups Projects
Commit ce0a556f authored by quchen's avatar quchen
Browse files

Remove incorrect deprecation doc message

The pragma-based deprecation of 'decodeASCII' correctly claims
that 'decodeUtf8' should be used (matching the implementation),
while the documentation string of the function itself recommended
'decodeLatin1' (which does not).
parent 260f3ab5
No related branches found
No related tags found
No related merge requests found
......@@ -119,8 +119,6 @@ import qualified Data.Text.Internal.Fusion as F
-- | /Deprecated/. Decode a 'ByteString' containing 7-bit ASCII
-- encoded text.
--
-- This function is deprecated. Use 'decodeLatin1' instead.
decodeASCII :: ByteString -> Text
decodeASCII = decodeUtf8
{-# DEPRECATED decodeASCII "Use decodeUtf8 instead" #-}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment