diff options
| author | Andrew Gerrand <adg@golang.org> | 2011-07-08 10:52:50 +1000 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2011-07-08 10:52:50 +1000 |
| commit | 5bcbcab3118368e87cd676722db711d54d590403 (patch) | |
| tree | fb11b7c18e728feefca7155c48a946e16bdd1244 /src/pkg/http | |
| parent | e67a2504a15ac579758f8dc494d4d4e2b5fc13ab (diff) | |
| download | go-5bcbcab3118368e87cd676722db711d54d590403.tar.xz | |
sort: rename helpers: s/Sort// in sort.Sort[Float64s|Ints|Strings]
Includes 'sorthelpers' gofix and updates to tree.
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4631098
Diffstat (limited to 'src/pkg/http')
| -rw-r--r-- | src/pkg/http/header.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/http/header.go b/src/pkg/http/header.go index 95a25a814b..08b0771304 100644 --- a/src/pkg/http/header.go +++ b/src/pkg/http/header.go @@ -56,7 +56,7 @@ func (h Header) WriteSubset(w io.Writer, exclude map[string]bool) os.Error { keys = append(keys, k) } } - sort.SortStrings(keys) + sort.Strings(keys) for _, k := range keys { for _, v := range h[k] { v = strings.Replace(v, "\n", " ", -1) |
