mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
sort: change IntArray etc. to IntSlice for better name hygiene.
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4602054
This commit is contained in:
parent
18333f2de5
commit
4b1170d2b1
12 changed files with 62 additions and 62 deletions
|
|
@ -344,7 +344,7 @@ func printCategories() {
|
|||
fmt.Print("}\n\n")
|
||||
}
|
||||
|
||||
decl := make(sort.StringArray, len(list))
|
||||
decl := make(sort.StringSlice, len(list))
|
||||
ndecl := 0
|
||||
for _, name := range list {
|
||||
if _, ok := category[name]; !ok {
|
||||
|
|
@ -665,7 +665,7 @@ func printScriptOrProperty(doProps bool) {
|
|||
fmt.Print("}\n\n")
|
||||
}
|
||||
|
||||
decl := make(sort.StringArray, len(list))
|
||||
decl := make(sort.StringSlice, len(list))
|
||||
ndecl := 0
|
||||
for _, name := range list {
|
||||
if doProps {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue