aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Tao <nigeltao@golang.org>2010-08-10 17:56:57 +1000
committerNigel Tao <nigeltao@golang.org>2010-08-10 17:56:57 +1000
commitd4e23b7e37698b3913ec7f6df942d37b9c1e6f35 (patch)
tree4b4e044583631d65c049595f368948471d8a0424
parentb50a3d95e16ef642c40218dd298ee56ab26f76b0 (diff)
downloadgo-d4e23b7e37698b3913ec7f6df942d37b9c1e6f35.tar.gz
go-d4e23b7e37698b3913ec7f6df942d37b9c1e6f35.zip
image: fix comment typo.
R=adg CC=golang-dev https://golang.org/cl/1952041
-rw-r--r--src/pkg/image/image.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/image/image.go b/src/pkg/image/image.go
index b7e62bfae4..b5a2f0bbcb 100644
--- a/src/pkg/image/image.go
+++ b/src/pkg/image/image.go
@@ -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