OSDN Git Service

libgo: Update to weekly.2011-12-14.
[pf3gnuchains/gcc-fork.git] / libgo / go / strings / strings.go
index 53fdead..b411ba5 100644 (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) {