Skip to content

Commit 9a17b2f

Browse files
committed
fix comment
1 parent e7519dd commit 9a17b2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Data/String.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ dropWhile :: (Char -> Boolean) -> String -> String
174174
dropWhile p s = drop (count p s) s
175175

176176
-- | Returns the substring at indices [begin, end).
177-
-- | If either index is negative, it is normalized to `length s - index`,
177+
-- | If either index is negative, it is normalised to `length s - index`,
178178
-- | where `s` is the input string. An empty string is returned if either
179-
-- | index is out of bounds or if `begin > end`.
179+
-- | index is out of bounds or if `begin > end` after normalisation.
180180
-- |
181181
-- | ```purescript
182182
-- | slice 0 1 "purescript" == "p"

0 commit comments

Comments
 (0)