]> Cypherpunks repositories - gostls13.git/commitdiff
go/printer: fix typo
authorKale Blankenship <kale@lemnisys.com>
Tue, 4 Jul 2017 15:33:56 +0000 (08:33 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 4 Jul 2017 21:05:41 +0000 (21:05 +0000)
Change-Id: Idf89559c9945c5a8743539658fe92e860fcc6a92
Reviewed-on: https://go-review.googlesource.com/47362
Reviewed-by: Matt Layher <mdlayher@gmail.com>
src/go/printer/printer.go

index 57f9716f48559da31ee60184e57367ff1453b855..dbb4bbd90cf205cfbc9304b23ca63ccb81803f71 100644 (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 {