OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libgo: Update to weekly.2011-12-14.
[pf3gnuchains/gcc-fork.git]
/
libgo
/
go
/
strings
/
strings.go
diff --git
a/libgo/go/strings/strings.go
b/libgo/go/strings/strings.go
index
53fdead
..
b411ba5
100644
(file)
--- a/
libgo/go/strings/strings.go
+++ b/
libgo/go/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) {