summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2010-01-07 09:27:24 -0800
committerRobert Griesemer <gri@golang.org>2010-01-07 09:27:24 -0800
commitdadf1613241e07c2f47560b47393578a0cc87179 (patch)
treec9e40b1d1abff2c4859fe2aac05263e3f9eac298 /src
parentc8c48b25c37085b145a561c8c9cdc92b24382994 (diff)
downloadgolang-dadf1613241e07c2f47560b47393578a0cc87179.tar.gz
added some missing periods
R=rsc CC=golang-dev http://codereview.appspot.com/181171
Diffstat (limited to 'src')
-rw-r--r--src/pkg/unicode/letter.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/unicode/letter.go b/src/pkg/unicode/letter.go
index 8020cd0cf..b13c870fe 100644
--- a/src/pkg/unicode/letter.go
+++ b/src/pkg/unicode/letter.go
@@ -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