Skip to content

Commit 54e69c0

Browse files
committed
fix typo in docstring of Enum.at and Enum.slice
1 parent 24c4bc3 commit 54e69c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/string.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ defmodule String do
927927

928928
@doc """
929929
Returns the grapheme in the `position` of the given utf8 `string`.
930-
If `position` is greater than `string` length, than it returns `nil`.
930+
If `position` is greater than `string` length, then it returns `nil`.
931931
932932
## Examples
933933
@@ -974,7 +974,7 @@ defmodule String do
974974
@doc """
975975
Returns a substring starting at the offset given by the first, and
976976
a length given by the second.
977-
If the offset is greater than string length, than it returns `""`.
977+
If the offset is greater than string length, then it returns `""`.
978978
979979
## Examples
980980

0 commit comments

Comments
 (0)