update tree for new default type rule

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5448091
This commit is contained in:
Russ Cox 2011-12-08 22:08:03 -05:00
parent be0ffbfd02
commit a250f37cbc
13 changed files with 43 additions and 29 deletions

View file

@ -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) {