aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/bytes/bytes.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/bytes/bytes.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/bytes/bytes.go')
-rw-r--r--src/pkg/bytes/bytes.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/bytes/bytes.go b/src/pkg/bytes/bytes.go
index 307c89aa3d..e94a0ec5c4 100644
--- a/src/pkg/bytes/bytes.go
+++ b/src/pkg/bytes/bytes.go
@@ -470,7 +470,7 @@ func Title(s []byte) []byte {
// 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) {