From ab1e5c6c942ed733a7518bf814d25aecbb4a3ff5 Mon Sep 17 00:00:00 2001 From: Robert Daniel Kortschak Date: Fri, 16 May 2014 10:35:33 -0700 Subject: [PATCH] go.tools/astutil: fix parameter omission in doc comment LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/98290045 --- astutil/imports.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astutil/imports.go b/astutil/imports.go index 37451ec5..8cc765c5 100644 --- a/astutil/imports.go +++ b/astutil/imports.go @@ -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. // // For example, calling -// AddNamedImport(f, "pathpkg", "path") +// AddNamedImport(fset, f, "pathpkg", "path") // adds // import pathpkg "path" func AddNamedImport(fset *token.FileSet, f *ast.File, name, ipath string) (added bool) {