Skip to content

Commit

Permalink
image: resolve the TODO of doc comment style
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
panjf2000 authored and nigeltao committed Feb 24, 2021
1 parent 6cc8aa7 commit 0694fb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions src/image/jpeg/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/image/png/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ type encoder struct {
bw *bufio.Writer
}

// CompressionLevel indicates the compression level.
type CompressionLevel int

const (
Expand Down

0 comments on commit 0694fb3

Please sign in to comment.