mirror of
https://github.com/golang/go
synced 2024-11-19 05:34:40 -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:
parent
6cc8aa7ece
commit
0694fb3d78
@ -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
|
||||
|
||||
|
@ -51,6 +51,7 @@ type encoder struct {
|
||||
bw *bufio.Writer
|
||||
}
|
||||
|
||||
// CompressionLevel indicates the compression level.
|
||||
type CompressionLevel int
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user