1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:14:40 -07:00

go/printer: update documentation

Fixes #2855.

R=r
CC=golang-dev
https://golang.org/cl/5608057
This commit is contained in:
Robert Griesemer 2012-02-03 16:57:59 -08:00
parent 59e7a0295a
commit 83bb6ebe9e

View File

@ -1108,7 +1108,7 @@ func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node interface{
}
// A CommentedNode bundles an AST node and corresponding comments.
// It may be provided as argument to any of the FPrint functions.
// It may be provided as argument to any of the Fprint functions.
//
type CommentedNode struct {
Node interface{} // *ast.File, or ast.Expr, ast.Decl, ast.Spec, or ast.Stmt