omit 2nd value from range

This commit is contained in:
isLishude
2018-01-09 19:16:40 +08:00
committed by GitHub
parent 73307a94c6
commit ea012b2688

View File

@@ -177,7 +177,7 @@ func (bl BoxList) BiggestColor() Color {
}
func (bl BoxList) PaintItBlack() {
for i, _ := range bl {
for i := range bl {
bl[i].SetColor(BLACK)
}
}