]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typo in comment
authorguoguangwu <guoguangwug@gmail.com>
Thu, 7 Mar 2024 09:19:51 +0000 (09:19 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 7 Mar 2024 19:04:09 +0000 (19:04 +0000)
Change-Id: I211442f2bbdab29820126a350cbdb0886a10d6e5
GitHub-Last-Rev: 0347054a55713f9dabee38f63900b56025a39c60
GitHub-Pull-Request: golang/go#66160
Reviewed-on: https://go-review.googlesource.com/c/go/+/569697
Commit-Queue: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: qiulaidongfeng <2645477756@qq.com>
src/cmd/go/internal/base/tool.go

index ab623da4264866a2641d5236f31ecb83043fdfe9..a60bf9d6d32352619fa3e85d26e3e7c424022ead 100644 (file)
@@ -27,7 +27,7 @@ func Tool(toolName string) string {
        return toolPath
 }
 
-// Tool returns the path at which we expect to find the named tool
+// ToolPath returns the path at which we expect to find the named tool
 // (for example, "vet"), and the error (if any) from statting that path.
 func ToolPath(toolName string) (string, error) {
        toolPath := filepath.Join(build.ToolDir, toolName) + cfg.ToolExeSuffix()