Skip to content

Commit

Permalink
cmd/godoc: remove extra // characters from deprecation notice
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
dmitshur committed Nov 24, 2021
1 parent 7cf1f38 commit cb80a01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/godoc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ see https://golang.org/pkg/testing/#hdr-Examples for the conventions.
See "Godoc: documenting Go code" for how to write good comments for godoc:
https://golang.org/doc/articles/godoc_documenting_go_code.html
// Deprecated: godoc cannot select what version of a package is displayed.
// Instead, use golang.org/x/pkgsite/cmd/pkgsite.
Deprecated: godoc cannot select what version of a package is displayed.
Instead, use golang.org/x/pkgsite/cmd/pkgsite.
*/
package main // import "golang.org/x/tools/cmd/godoc"

0 comments on commit cb80a01

Please sign in to comment.