Skip to content

Commit

Permalink
Fix String.at/1 documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
yrashk committed Dec 4, 2012
1 parent 4583162 commit 16da928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir/lib/string.ex
Expand Up @@ -447,7 +447,7 @@ defmodule String do
## Examples
String.at("elixir", 0) #=> "1"
String.at("elixir", 0) #=> "e"
String.at("elixir", 1) #=> "l"
String.at("elixir", 10) #=> nil
String.at("elixir", -1) #=> "r"
Expand Down

0 comments on commit 16da928

Please sign in to comment.