diff options
author | Quan Tong <quantonganh@gmail.com> | 2023-10-16 15:39:48 +0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-10-30 18:16:15 +0000 |
commit | 214ce28503c891e2c5c63150f240424f994d4e76 (patch) | |
tree | f350bfb74e92378678b2005bf5599ff81b668b01 /src/cmd/go/alldocs.go | |
parent | 1e95fc7ffe1faa0e329b32015532d9fa58a1a6c9 (diff) | |
download | go-214ce28503c891e2c5c63150f240424f994d4e76.tar.gz go-214ce28503c891e2c5c63150f240424f994d4e76.zip |
cmd/go/internal/help: update the documentation to match the design and implementation
The existing documentation imply that the build constraints
should be ignored after a block comments, but actually it's not.
Fixes #63502
Change-Id: I0597934b7a7eeab8908bf06e1312169b3702bf05
Reviewed-on: https://go-review.googlesource.com/c/go/+/535635
Reviewed-by: Michael Matloob <matloob@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Mark Pictor <mark.pictor@contrastsecurity.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r-- | src/cmd/go/alldocs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 392a21148bf..a5148ad4863 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -1926,7 +1926,7 @@ // // Constraints may appear in any kind of source file (not just Go), but // they must appear near the top of the file, preceded -// only by blank lines and other line comments. These rules mean that in Go +// only by blank lines and other comments. These rules mean that in Go // files a build constraint must appear before the package clause. // // To distinguish build constraints from package documentation, |