Skip to content

Commit ea012b2

Browse files
author
isLishude
authored
omit 2nd value from range
1 parent 73307a9 commit ea012b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zh/02.5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ func (bl BoxList) BiggestColor() Color {
177177
}
178178

179179
func (bl BoxList) PaintItBlack() {
180-
for i, _ := range bl {
180+
for i := range bl {
181181
bl[i].SetColor(BLACK)
182182
}
183183
}

0 commit comments

Comments
 (0)