mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00: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
2 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue