]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go/internal/modget: fix a typo introduced in CL 263267
authorBryan C. Mills <bcmills@google.com>
Fri, 6 Nov 2020 20:15:44 +0000 (15:15 -0500)
committerBryan C. Mills <bcmills@google.com>
Mon, 9 Nov 2020 14:17:30 +0000 (14:17 +0000)
Updates #37438

Change-Id: I78f377afd73dad75aed219836725a27fbaa5b69c
Reviewed-on: https://go-review.googlesource.com/c/go/+/268117
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Dan Peterson <dpiddy@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>

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

index ada85b1324152b426426a08481b8a16a1b70e0c8..583ae9e92ef1d70c13bea4a8c43b153f4e423a70 100644 (file)
 // 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
index bb59191c734583415f6bd5f63a580e9ab2a3cd78..f7598884365215c6e3892204f27d87a9140f251c 100644 (file)
@@ -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