]> Cypherpunks repositories - gostls13.git/commitdiff
go/doc/comment: remove unused fields
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 8 Apr 2023 16:11:37 +0000 (17:11 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 13 Apr 2023 15:25:55 +0000 (15:25 +0000)
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>
src/go/doc/comment/print.go

index 4e9da3d1e85fe4bcc92dcc2306a48336e516425f..e1c070d5a53e8f6fcad003380df434e06829291b 100644 (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,