Commit 6c4f3a0c authored by Kale Blankenship's avatar Kale Blankenship Committed by Ian Lance Taylor

go/printer: fix typo

Change-Id: Idf89559c9945c5a8743539658fe92e860fcc6a92
Reviewed-on: https://go-review.googlesource.com/47362Reviewed-by: default avatarMatt Layher <mdlayher@gmail.com>
parent a89e6be5
...@@ -1348,7 +1348,7 @@ func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{ ...@@ -1348,7 +1348,7 @@ func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{
// Fprint "pretty-prints" an AST node to output. // Fprint "pretty-prints" an AST node to output.
// It calls Config.Fprint with default settings. // It calls Config.Fprint with default settings.
// Note that gofmt uses tabs for indentation but spaces for alignent; // Note that gofmt uses tabs for indentation but spaces for alignment;
// use format.Node (package go/format) for output that matches gofmt. // use format.Node (package go/format) for output that matches gofmt.
// //
func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error { func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error {
......
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