From: Russ Cox Date: Tue, 13 Nov 2018 03:20:17 +0000 (-0500) Subject: go/build: do not suggest runtime.Version in comment X-Git-Tag: go1.12beta1~376 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a48a666bc89d355205550d43a9fdf1a9c507a123;p=gostls13.git go/build: do not suggest runtime.Version in comment The form of runtime.Version is not guaranteed to be helpful. Do not suggest it. (The suggestion was added in CL 136215.) Change-Id: I3227d2e66b6ce860b7e62d7ba531c18fb173823c Reviewed-on: https://go-review.googlesource.com/c/149258 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- diff --git a/src/go/build/doc.go b/src/go/build/doc.go index 682315cbd6..8e3858feea 100644 --- a/src/go/build/doc.go +++ b/src/go/build/doc.go @@ -111,8 +111,7 @@ // - "go1.12", from Go version 1.12 onward // - any additional words listed in ctxt.BuildTags // -// There are no build tags for beta or minor releases. Programs that need the -// minor release number can call runtime.Version. +// There are no build tags for beta or minor releases. // // If a file's name, after stripping the extension and a possible _test suffix, // matches any of the following patterns: