Skip to content

Commit 0b7b5c2

Browse files
committed
Fix space in example
1 parent 1578346 commit 0b7b5c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Text.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ span p t = case span_ p t of
13391339
-- string.
13401340
--
13411341
-- >>> T.spanEnd (=='0') "AB000"
1342-
-- ("AB", "000")
1342+
-- ("AB","000")
13431343
spanEnd :: (Char -> Bool) -> Text -> (Text, Text)
13441344
spanEnd p t = case spanEnd_ p t of (# hd, tl #) -> (hd, tl)
13451345
{-# inline spanEnd #-}

0 commit comments

Comments
 (0)