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:
parent
174d6e8ca3
commit
ab1e5c6c94
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue