1
0
mirror of https://github.com/golang/go synced 2024-11-19 05:24:42 -07:00

image: resolve the TODO of doc comment style

Change-Id: Ic7701a9e4635fe1a331c9a1df776ed580759eb9d
Reviewed-on: https://go-review.googlesource.com/c/go/+/268758
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Trust: Nigel Tao <nigeltao@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
Trust: Rob Pike <r@golang.org>
This commit is contained in:
Andy Pan 2020-11-10 17:56:33 +08:00 committed by Nigel Tao
parent 6cc8aa7ece
commit 0694fb3d78
2 changed files with 1 additions and 3 deletions

View File

@ -14,9 +14,6 @@ import (
"io"
)
// TODO(nigeltao): fix up the doc comment style so that sentences start with
// the name of the type or function that they annotate.
// A FormatError reports that the input is not a valid JPEG.
type FormatError string

View File

@ -51,6 +51,7 @@ type encoder struct {
bw *bufio.Writer
}
// CompressionLevel indicates the compression level.
type CompressionLevel int
const (