on master help sign in
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).

commitce0a556f2a3fba78afd2e4fb8587ec451fd62bd3 authorDavid Luposchainsky <dluposchainsky@gmail.com> dateMon 10 Mar 2014, 20:47 (13 years ago) parent260f3ab
1 file changed−2
Data/Text/Encoding.hs−2
Data/Text/Encoding.hs−2
@@ -119,8 +119,6 @@ import qualified Data.Text.Internal.Fusion as F
119119
120120-- | /Deprecated/. Decode a 'ByteString' containing 7-bit ASCII
121121-- encoded text.
122−--
123−-- This function is deprecated. Use 'decodeLatin1' instead.
124122decodeASCII :: ByteString -> Text
125123decodeASCII = decodeUtf8
126124{-# DEPRECATED decodeASCII "Use decodeUtf8 instead" #-}