diff --git a/doc/articles/image_package.html b/doc/articles/image_package.html index 24601b5749..ebe92a1ca9 100644 --- a/doc/articles/image_package.html +++ b/doc/articles/image_package.html @@ -194,7 +194,7 @@ way to iterate over an Image m's pixels looks like:
 b := m.Bounds()
 for y := b.Min.Y; y < b.Max.Y; y++ {
-	for x := b.Min.X; y < b.Max.X; x++ {
+	for x := b.Min.X; x < b.Max.X; x++ {
 		doStuffWith(m.At(x, y))
 	}
 }