]> Cypherpunks repositories - gostls13.git/commitdiff
go/printer: update documentation
authorRobert Griesemer <gri@golang.org>
Sat, 4 Feb 2012 00:57:59 +0000 (16:57 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 4 Feb 2012 00:57:59 +0000 (16:57 -0800)
Fixes #2855.

R=r
CC=golang-dev
https://golang.org/cl/5608057

src/pkg/go/printer/printer.go

index 52dfff6f4b369863f55f3197971ea4d4a2f929c9..f1222d874b9957974e549408590540c339189c71 100644 (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