]> Cypherpunks repositories - gostls13.git/commitdiff
added some missing periods
authorRobert Griesemer <gri@golang.org>
Thu, 7 Jan 2010 17:27:24 +0000 (09:27 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 7 Jan 2010 17:27:24 +0000 (09:27 -0800)
R=rsc
CC=golang-dev
https://golang.org/cl/181171

src/pkg/unicode/letter.go

index 8020cd0cf2d1a91796a29f01f225503245b5f3d7..b13c870fe8419aaf842f544d63cfe305abeda762 100644 (file)
@@ -130,7 +130,7 @@ func IsSpace(rune int) bool {
        return Is(White_Space, rune)
 }
 
-// To maps the rune to the specified case: UpperCase, LowerCase, or TitleCase
+// To maps the rune to the specified case: UpperCase, LowerCase, or TitleCase.
 func To(_case int, rune int) int {
        if _case < 0 || MaxCase <= _case {
                return ReplacementChar // as reasonable an error as any
@@ -167,7 +167,7 @@ func To(_case int, rune int) int {
        return rune
 }
 
-// ToUpper maps the rune to upper case
+// ToUpper maps the rune to upper case.
 func ToUpper(rune int) int {
        if rune < 0x80 { // quick ASCII check
                if 'a' <= rune && rune <= 'z' {
@@ -178,7 +178,7 @@ func ToUpper(rune int) int {
        return To(UpperCase, rune)
 }
 
-// ToLower maps the rune to lower case
+// ToLower maps the rune to lower case.
 func ToLower(rune int) int {
        if rune < 0x80 { // quick ASCII check
                if 'A' <= rune && rune <= 'Z' {
@@ -189,7 +189,7 @@ func ToLower(rune int) int {
        return To(LowerCase, rune)
 }
 
-// ToTitle maps the rune to title case
+// ToTitle maps the rune to title case.
 func ToTitle(rune int) int {
        if rune < 0x80 { // quick ASCII check
                if 'a' <= rune && rune <= 'z' { // title case is upper case for ASCII