mirror of
https://github.com/golang/go
synced 2024-11-25 11:07:59 -07:00
go/printer: update documentation
Fixes #2855. R=r CC=golang-dev https://golang.org/cl/5608057
This commit is contained in:
parent
59e7a0295a
commit
83bb6ebe9e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user