]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typo in comment
authorBrad Fitzpatrick <bradfitz@golang.org>
Sat, 9 Apr 2016 22:54:26 +0000 (22:54 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 9 Apr 2016 23:02:36 +0000 (23:02 +0000)
Thanks to deafgoat.

Fixes #15215

Change-Id: I9fababc7ecd201ce86020a438e4faee95e7623a8
Reviewed-on: https://go-review.googlesource.com/21792
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/pkg.go

index 30ef02beff456a9fe39bb0734e321caa66289587..9b0c6572369116777dfcb6d519713e0cbfec2d4d 100644 (file)
@@ -658,7 +658,7 @@ func disallowVendorVisibility(srcDir string, p *Package, stk *importStack) *Pack
 
 // findVendor looks for the last non-terminating "vendor" path element in the given import path.
 // If there isn't one, findVendor returns ok=false.
-// Otherwise, findInternal returns ok=true and the index of the "vendor".
+// Otherwise, findVendor returns ok=true and the index of the "vendor".
 //
 // Note that terminating "vendor" elements don't count: "x/vendor" is its own package,
 // not the vendored copy of an import "" (the empty import path).