Skip to content

Commit 16da928

Browse files
committed
Fix String.at/1 documentation example
1 parent 4583162 commit 16da928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/string.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ defmodule String do
447447
448448
## Examples
449449
450-
String.at("elixir", 0) #=> "1"
450+
String.at("elixir", 0) #=> "e"
451451
String.at("elixir", 1) #=> "l"
452452
String.at("elixir", 10) #=> nil
453453
String.at("elixir", -1) #=> "r"

0 commit comments

Comments
 (0)