Permalink
Browse files

Fix String.at/1 documentation example

  • Loading branch information...
1 parent 4583162 commit 16da928df8367cd3579723716d0e1679f94cb939 @yrashk yrashk committed Dec 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/elixir/lib/string.ex
View
@@ -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"

0 comments on commit 16da928

Please sign in to comment.