Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fixing some docs indentation #749

Merged
merged 1 commit into from

2 participants

@guedes

No description provided.

@josevalim josevalim merged commit d3bac20 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 6, 2013
  1. @guedes
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 5 deletions.
  1. +6 −5 lib/elixir/lib/string.ex
View
11 lib/elixir/lib/string.ex
@@ -390,10 +390,10 @@ defmodule String do
## Examples
- String.valid_codepoint?("a") #=> true
- String.valid_codepoint?("ø") #=> true
- String.valid_codepoint?("\xffff") #=> false
- String.valid_codepoint?("asdf") #=> false
+ String.valid_codepoint?("a") #=> true
+ String.valid_codepoint?("ø") #=> true
+ String.valid_codepoint?("\xffff") #=> false
+ String.valid_codepoint?("asdf") #=> false
"""
@spec valid_codepoint?(codepoint) :: boolean
@@ -404,7 +404,8 @@ defmodule String do
Returns unicode graphemes in the string
## Examples
- String.graphemes("Ā̀stute") # => ["Ā̀","s","t","u","t","e"]
+
+ String.graphemes("Ā̀stute") # => ["Ā̀","s","t","u","t","e"]
"""
@spec graphemes(t) :: [grapheme]
Something went wrong with that request. Please try again.