Skip to content

Commit f858c22

Browse files
author
Bryan C. Mills
committed
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 <[email protected]> Run-TryBot: Bryan C. Mills <[email protected]> Reviewed-by: Dan Peterson <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent 2231243 commit f858c22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cmd/go/alldocs.go

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/cmd/go/internal/modget/get.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ downgrades the dependency. The version suffix @none indicates that the
8989
dependency should be removed entirely, downgrading or removing modules
9090
depending on it as needed.
9191
92-
The version suffix @latest explicitly requests the latest minor release ofthe
93-
module named by the given path. The suffix @upgrade is like @latest but
92+
The version suffix @latest explicitly requests the latest minor release of
93+
the module named by the given path. The suffix @upgrade is like @latest but
9494
will not downgrade a module if it is already required at a revision or
9595
pre-release version newer than the latest released version. The suffix
9696
@patch requests the latest patch release: the latest released version

0 commit comments

Comments
 (0)