1
0
mirror of https://github.com/golang/go synced 2024-09-23 19:10:13 -06:00

go/printer: fix typo

Change-Id: Idf89559c9945c5a8743539658fe92e860fcc6a92
Reviewed-on: https://go-review.googlesource.com/47362
Reviewed-by: Matt Layher <mdlayher@gmail.com>
This commit is contained in:
Kale Blankenship 2017-07-04 08:33:56 -07:00 committed by Ian Lance Taylor
parent a89e6be5e4
commit 6c4f3a0c16

View File

@ -1348,7 +1348,7 @@ func (cfg *Config) Fprint(output io.Writer, fset *token.FileSet, node interface{
// Fprint "pretty-prints" an AST node to output.
// 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.
//
func Fprint(output io.Writer, fset *token.FileSet, node interface{}) error {