From: Kale Blankenship Date: Tue, 4 Jul 2017 15:33:56 +0000 (-0700) Subject: go/printer: fix typo X-Git-Tag: go1.9rc1~107 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6c4f3a0c16e5da3caa08cb8f368dc7db90bb211d;p=gostls13.git go/printer: fix typo Change-Id: Idf89559c9945c5a8743539658fe92e860fcc6a92 Reviewed-on: https://go-review.googlesource.com/47362 Reviewed-by: Matt Layher --- diff --git a/src/go/printer/printer.go b/src/go/printer/printer.go index 57f9716f48..dbb4bbd90c 100644 --- a/src/go/printer/printer.go +++ b/src/go/printer/printer.go @@ -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 {