mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
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 <filippo@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
e26a8c8a3c
commit
b9c20aec41
@ -59,9 +59,10 @@
|
|||||||
// The -linecomment flag tells stringer to generate the text of any line comment, trimmed
|
// 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
|
// of leading spaces, instead of the constant name. For instance, if the constants above had a
|
||||||
// Pill prefix, one could write
|
// Pill prefix, one could write
|
||||||
|
//
|
||||||
// PillAspirin // Aspirin
|
// PillAspirin // Aspirin
|
||||||
|
//
|
||||||
// to suppress it in the output.
|
// to suppress it in the output.
|
||||||
|
|
||||||
package main // import "golang.org/x/tools/cmd/stringer"
|
package main // import "golang.org/x/tools/cmd/stringer"
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user