1
0
mirror of https://github.com/golang/go synced 2024-11-17 05:44:52 -07:00

go/doc/comment: remove unused fields

Change-Id: Ia5b73e6950d0c53144a97e1ad3f231d69dd74fe8
Reviewed-on: https://go-review.googlesource.com/c/go/+/483295
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Agniva De Sarker <agniva.quicksilver@gmail.com>
This commit is contained in:
Daniel Martí 2023-04-08 17:11:37 +01:00
parent 594d67b540
commit eed0cda44c

View File

@ -148,8 +148,6 @@ func (h *Heading) DefaultID() string {
type commentPrinter struct {
*Printer
headingPrefix string
needDoc map[string]bool
}
// Comment returns the standard Go formatting of the Doc,