throughout: simplify two-variable ranges with unused second variable

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/3529041
This commit is contained in:
Ryan Hitchman 2010-12-08 21:36:56 -08:00 committed by Robert Griesemer
parent 14804a412b
commit 062406bc64
9 changed files with 10 additions and 10 deletions

View file

@ -326,7 +326,7 @@ func printCategories() {
if *tablelist == "all" {
fmt.Println("// Categories is the set of Unicode data tables.")
fmt.Println("var Categories = map[string] []Range {")
for k, _ := range category {
for k := range category {
fmt.Printf("\t%q: %s,\n", k, k)
}
fmt.Print("}\n\n")
@ -594,7 +594,7 @@ func printScriptOrProperty(doProps bool) {
fmt.Println("// Scripts is the set of Unicode script tables.")
fmt.Println("var Scripts = map[string] []Range {")
}
for k, _ := range table {
for k := range table {
fmt.Printf("\t%q: %s,\n", k, k)
}
fmt.Print("}\n\n")