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:
Koichi Shiraishi 2017-05-06 17:06:16 +09:00 committed by Brad Fitzpatrick
parent 15b145e4e3
commit 9862c35773
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }