Skip to content

Commit b6654d4

Browse files
authored
Update take docstring to match the behaviour (#172)
1 parent 72bb066 commit b6654d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/String/CodePoints.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ lastIndexOf' p i s =
314314

315315
-- | Returns a string containing the given number of code points from the
316316
-- | beginning of the given string. If the string does not have that many code
317-
-- | points, returns the empty string. Operates in constant space and in time
317+
-- | points, returns the entire string. Operates in constant space and in time
318318
-- | linear to the given number.
319319
-- |
320320
-- | ```purescript

0 commit comments

Comments
 (0)