]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typo in comment
authorIan Lance Taylor <iant@golang.org>
Tue, 21 Jul 2015 21:05:59 +0000 (14:05 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 21 Jul 2015 22:25:11 +0000 (22:25 +0000)
Change-Id: I3d5e46d376953fbdd21ce8c161214eaed6378d84
Reviewed-on: https://go-review.googlesource.com/12490
Reviewed-by: Andrew Gerrand <adg@golang.org>
src/cmd/go/pkg.go

index ae9744218d29cb74c8c3df1f650459a096a36833..e6c17036feb58f92f4ec720773393bcbcc2e882c 100644 (file)
@@ -359,7 +359,7 @@ func isDir(path string) bool {
 // If parent is x/y/z, then path might expand to x/y/z/vendor/path, x/y/vendor/path,
 // x/vendor/path, vendor/path, or else stay x/y/z if none of those exist.
 // vendoredImportPath returns the expanded path or, if no expansion is found, the original.
-// If no epxansion is found, vendoredImportPath also returns a list of vendor directories
+// If no expansion is found, vendoredImportPath also returns a list of vendor directories
 // it searched along the way, to help prepare a useful error message should path turn
 // out not to exist.
 func vendoredImportPath(parent *Package, path string) (found string, searched []string) {