From: Bryan C. Mills Date: Fri, 6 Nov 2020 20:15:44 +0000 (-0500) Subject: cmd/go/internal/modget: fix a typo introduced in CL 263267 X-Git-Tag: go1.16beta1~290 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f858c221270addffaceb668196caf7fd8ceb0019;p=gostls13.git cmd/go/internal/modget: fix a typo introduced in CL 263267 Updates #37438 Change-Id: I78f377afd73dad75aed219836725a27fbaa5b69c Reviewed-on: https://go-review.googlesource.com/c/go/+/268117 Trust: Bryan C. Mills Run-TryBot: Bryan C. Mills Reviewed-by: Dan Peterson Reviewed-by: Dmitri Shuralyov TryBot-Result: Go Bot --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index ada85b1324..583ae9e92e 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -617,8 +617,8 @@ // dependency should be removed entirely, downgrading or removing modules // depending on it as needed. // -// The version suffix @latest explicitly requests the latest minor release ofthe -// module named by the given path. The suffix @upgrade is like @latest but +// The version suffix @latest explicitly requests the latest minor release of +// the module named by the given path. The suffix @upgrade is like @latest but // will not downgrade a module if it is already required at a revision or // pre-release version newer than the latest released version. The suffix // @patch requests the latest patch release: the latest released version diff --git a/src/cmd/go/internal/modget/get.go b/src/cmd/go/internal/modget/get.go index bb59191c73..f759888436 100644 --- a/src/cmd/go/internal/modget/get.go +++ b/src/cmd/go/internal/modget/get.go @@ -89,8 +89,8 @@ downgrades the dependency. The version suffix @none indicates that the dependency should be removed entirely, downgrading or removing modules depending on it as needed. -The version suffix @latest explicitly requests the latest minor release ofthe -module named by the given path. The suffix @upgrade is like @latest but +The version suffix @latest explicitly requests the latest minor release of +the module named by the given path. The suffix @upgrade is like @latest but will not downgrade a module if it is already required at a revision or pre-release version newer than the latest released version. The suffix @patch requests the latest patch release: the latest released version