go.tools/astutil: fix parameter omission in doc comment

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/98290045
This commit is contained in:
Robert Daniel Kortschak 2014-05-16 10:35:33 -07:00 committed by Brad Fitzpatrick
parent 174d6e8ca3
commit ab1e5c6c94
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func AddImport(fset *token.FileSet, f *ast.File, ipath string) (added bool) {
// If name is not empty, it is used to rename the import. // If name is not empty, it is used to rename the import.
// //
// For example, calling // For example, calling
// AddNamedImport(f, "pathpkg", "path") // AddNamedImport(fset, f, "pathpkg", "path")
// adds // adds
// import pathpkg "path" // import pathpkg "path"
func AddNamedImport(fset *token.FileSet, f *ast.File, name, ipath string) (added bool) { func AddNamedImport(fset *token.FileSet, f *ast.File, name, ipath string) (added bool) {