Skip to content

Commit ae6c57e

Browse files
authored
Merge pull request astaxie#943 from isLishude/patch-1
omit 2nd value from range
2 parents 73307a9 + ea012b2 commit ae6c57e

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)