From eed0cda44c1d7750d2abc7a8ee2bc4a0bcce46e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Sat, 8 Apr 2023 17:11:37 +0100 Subject: [PATCH] go/doc/comment: remove unused fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ia5b73e6950d0c53144a97e1ad3f231d69dd74fe8 Reviewed-on: https://go-review.googlesource.com/c/go/+/483295 Reviewed-by: Robert Griesemer Reviewed-by: David Chase Run-TryBot: Daniel Martí TryBot-Result: Gopher Robot Reviewed-by: Agniva De Sarker --- src/go/doc/comment/print.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/go/doc/comment/print.go b/src/go/doc/comment/print.go index 4e9da3d1e8..e1c070d5a5 100644 --- a/src/go/doc/comment/print.go +++ b/src/go/doc/comment/print.go @@ -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, -- 2.48.1