on master help sign in
Fix doc copy-and-paste-o
4ab406eBryan O'Sullivan
Data/Text.hs+1−1
@@ -1021,7 +1021,7 @@ iterN n t@(Text _arr _off len) = loop 0 0
1021 unstream (S.take n (stream t)) = take n t
1021 unstream (S.take n (stream t)) = take n t
1022 #-}
1022 #-}
1023
1023
1024−-- | /O(n)/ 'dropEnd' @n@ @t@ returns the suffix remaining after
1024+-- | /O(n)/ 'takeEnd' @n@ @t@ returns the suffix remaining after
1025-- taking @n@ characters from the end of @t@.
1025-- taking @n@ characters from the end of @t@.
1026--
1026--
1027-- Examples:
1027-- Examples: