cmd/go: fix typo in comment

Change-Id: I211442f2bbdab29820126a350cbdb0886a10d6e5
GitHub-Last-Rev: 0347054a55
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>
This commit is contained in:
guoguangwu 2024-03-07 09:19:51 +00:00 committed by Gopher Robot
parent f93f6e501e
commit d44ec4c05f
1 changed files with 1 additions and 1 deletions

View 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()