go/gcexportdata: fix unnecessary plural type definitions of arg
importPath and srcDir are both of string type. Change-Id: Ia5230bd19ea83bc210cb0b1a50046e4e0ef2accb Reviewed-on: https://go-review.googlesource.com/42890 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
15b145e4e3
commit
9862c35773
|
@ -44,7 +44,7 @@ import (
|
||||||
//
|
//
|
||||||
// Find also returns the package's resolved (canonical) import path,
|
// Find also returns the package's resolved (canonical) import path,
|
||||||
// reflecting the effects of srcDir and vendoring on importPath.
|
// reflecting the effects of srcDir and vendoring on importPath.
|
||||||
func Find(importPath string, srcDir string) (filename, path string) {
|
func Find(importPath, srcDir string) (filename, path string) {
|
||||||
return gcimporter.FindPkg(importPath, srcDir)
|
return gcimporter.FindPkg(importPath, srcDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue