cmd/api: delete redundant text from deletion message

R=bradfitz, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6543064
This commit is contained in:
Rob Pike 2012-09-27 15:39:56 +10:00
parent 791ac65b82
commit b46dd48dd3

View file

@ -228,13 +228,14 @@ func main() {
}
}
// In next file, but not in API.
var missing []string
for feature := range optional {
missing = append(missing, feature)
}
sort.Strings(missing)
for _, feature := range missing {
fmt.Fprintf(bw, "(in next file, but not in API) -%s\n", feature)
fmt.Fprintf(bw, "±%s\n", feature)
}
}