Skip to content

Commit 9862c35

Browse files
zcheebradfitz
authored andcommitted
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 <[email protected]>
1 parent 15b145e commit 9862c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/gcexportdata/gcexportdata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
//
4545
// Find also returns the package's resolved (canonical) import path,
4646
// reflecting the effects of srcDir and vendoring on importPath.
47-
func Find(importPath string, srcDir string) (filename, path string) {
47+
func Find(importPath, srcDir string) (filename, path string) {
4848
return gcimporter.FindPkg(importPath, srcDir)
4949
}
5050

0 commit comments

Comments
 (0)