aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/strings/strings.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-08 22:08:03 -0500
committerRuss Cox <rsc@golang.org>2011-12-08 22:08:03 -0500
commita250f37cbc93a0d625741b0d380154ed3a94ca09 (patch)
tree4360eabf55149bbf4eb457f4deadcbbbc8e47eb5 /src/pkg/strings/strings.go
parentbe0ffbfd0246646344c2d86a5660564d1a08a5b3 (diff)
downloadgo-a250f37cbc93a0d625741b0d380154ed3a94ca09.tar.xz
update tree for new default type rule
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5448091
Diffstat (limited to 'src/pkg/strings/strings.go')
-rw-r--r--src/pkg/strings/strings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/strings/strings.go b/src/pkg/strings/strings.go
index 53fdeadf97..b411ba5d8b 100644
--- a/src/pkg/strings/strings.go
+++ b/src/pkg/strings/strings.go
@@ -434,7 +434,7 @@ func Title(s string) string {
// Use a closure here to remember state.
// Hackish but effective. Depends on Map scanning in order and calling
// the closure once per rune.
- prev := rune(' ')
+ prev := ' '
return Map(
func(r rune) rune {
if isSeparator(prev) {