From b9c20aec41a58d08b028186fa880270b804fb2e6 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Tue, 29 Oct 2019 14:52:27 -0400 Subject: [PATCH] cmd/stringer: fix package godoc CL 191309 broke it by adding a newline before the package clause. Change-Id: Ic039649734ae086a891227b5926e028fe7e62325 Reviewed-on: https://go-review.googlesource.com/c/tools/+/204137 Run-TryBot: Filippo Valsorda Reviewed-by: Brad Fitzpatrick --- cmd/stringer/stringer.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/stringer/stringer.go b/cmd/stringer/stringer.go index 0d0692be0..e1468693f 100644 --- a/cmd/stringer/stringer.go +++ b/cmd/stringer/stringer.go @@ -59,9 +59,10 @@ // The -linecomment flag tells stringer to generate the text of any line comment, trimmed // of leading spaces, instead of the constant name. For instance, if the constants above had a // Pill prefix, one could write -// PillAspirin // Aspirin +// +// PillAspirin // Aspirin +// // to suppress it in the output. - package main // import "golang.org/x/tools/cmd/stringer" import (