]> Cypherpunks repositories - gostls13.git/commitdiff
image: fix comment typo.
authorNigel Tao <nigeltao@golang.org>
Tue, 10 Aug 2010 07:56:57 +0000 (17:56 +1000)
committerNigel Tao <nigeltao@golang.org>
Tue, 10 Aug 2010 07:56:57 +0000 (17:56 +1000)
R=adg
CC=golang-dev
https://golang.org/cl/1952041

src/pkg/image/image.go

index b7e62bfae415e17edad4eaa0d3f950e0fae4ec56..b5a2f0bbcb2c5eb684a1ab5ed6725686dde18be3 100644 (file)
@@ -330,7 +330,7 @@ func NewAlpha16(w, h int) *Alpha16 {
        return &Alpha16{pix, w, Rectangle{ZP, Point{w, h}}}
 }
 
-// An Gray is an in-memory image of GrayColor values.
+// A Gray is an in-memory image of GrayColor values.
 type Gray struct {
        // Pix holds the image's pixels. The pixel at (x, y) is Pix[y*Stride+x].
        Pix    []GrayColor
@@ -368,7 +368,7 @@ func NewGray(w, h int) *Gray {
        return &Gray{pix, w, Rectangle{ZP, Point{w, h}}}
 }
 
-// An Gray16 is an in-memory image of Gray16Color values.
+// A Gray16 is an in-memory image of Gray16Color values.
 type Gray16 struct {
        // Pix holds the image's pixels. The pixel at (x, y) is Pix[y*Stride+x].
        Pix    []Gray16Color