Ver código fonte

Fix typo in comment.

Dmitry Chestnykh 12 anos atrás
pai
commit
46413fff73
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      image.go

+ 1 - 1
image.go

@@ -81,7 +81,7 @@ func NewImage(digits []byte, width, height int) *Image {
 	return m
 	return m
 }
 }
 
 
-// encodeToPNG encodes an image to PNG and returns
+// encodedPNG encodes an image to PNG and returns
 // the result as a byte slice.
 // the result as a byte slice.
 func (m *Image) encodedPNG() []byte {
 func (m *Image) encodedPNG() []byte {
 	var buf bytes.Buffer
 	var buf bytes.Buffer