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>
This commit is contained in:
Dmitri Shuralyov 2021-11-24 22:35:45 +00:00
Родитель 7cf1f382d2
Коммит cb80a01bd3
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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"