Commit 83bb6ebe authored by Robert Griesemer's avatar Robert Griesemer

go/printer: update documentation

Fixes #2855.

R=r
CC=golang-dev
https://golang.org/cl/5608057
parent 59e7a029
...@@ -1108,7 +1108,7 @@ func (cfg *Config) fprint(output io.Writer, fset *token.FileSet, node interface{ ...@@ -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. // 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 { type CommentedNode struct {
Node interface{} // *ast.File, or ast.Expr, ast.Decl, ast.Spec, or ast.Stmt Node interface{} // *ast.File, or ast.Expr, ast.Decl, ast.Spec, or ast.Stmt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment