aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKale Blankenship <kale@lemnisys.com>2017-07-04 08:33:56 -0700
committerIan Lance Taylor <iant@golang.org>2017-07-04 21:05:41 +0000
commit6c4f3a0c16e5da3caa08cb8f368dc7db90bb211d (patch)
tree974e0ca9c4ad4004146f057da3e6372bd5dc2806 /src
parenta89e6be5e409960da744626c27e24c130aa6e076 (diff)
downloadgo-6c4f3a0c16e5da3caa08cb8f368dc7db90bb211d.tar.xz
go/printer: fix typo
Change-Id: Idf89559c9945c5a8743539658fe92e860fcc6a92 Reviewed-on: https://go-review.googlesource.com/47362 Reviewed-by: Matt Layher <mdlayher@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/go/printer/printer.go2
1 files changed, 1 insertions, 1 deletions
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 {