Skip to content

Commit cb80a01

Browse files
committed
cmd/godoc: remove extra // characters from deprecation notice
The comment is already inside a /* */ block, so no need for //. Updates golang/go#49212. Change-Id: I6d50cedab363ed312d85e66797cbc4f652e56dab Reviewed-on: https://go-review.googlesource.com/c/tools/+/367014 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
1 parent 7cf1f38 commit cb80a01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/godoc/doc.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ see https://golang.org/pkg/testing/#hdr-Examples for the conventions.
108108
See "Godoc: documenting Go code" for how to write good comments for godoc:
109109
https://golang.org/doc/articles/godoc_documenting_go_code.html
110110
111-
// Deprecated: godoc cannot select what version of a package is displayed.
112-
// Instead, use golang.org/x/pkgsite/cmd/pkgsite.
111+
Deprecated: godoc cannot select what version of a package is displayed.
112+
Instead, use golang.org/x/pkgsite/cmd/pkgsite.
113113
*/
114114
package main // import "golang.org/x/tools/cmd/godoc"

0 commit comments

Comments
 (0)