aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2018-10-09 10:14:59 +0100
committerBrad Fitzpatrick <bradfitz@golang.org>2018-10-09 10:35:08 +0000
commitffc7bc55f351976c9bb1e04aeba75397d40cbb53 (patch)
treea91fdb1f1de732096845ddbc8c3cf99433e9c766 /src
parent465d1c61685db9e249d77db7d4ceca578f400b27 (diff)
downloadgo-ffc7bc55f351976c9bb1e04aeba75397d40cbb53.tar.xz
cmd/compile: fix Compiler Directives typo
Change-Id: I098b3c627c2142affd4e800a2c1f37e00f3775c5 Reviewed-on: https://go-review.googlesource.com/c/140777 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/compile/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/doc.go b/src/cmd/compile/doc.go
index b68314cf73..3dc73a8fde 100644
--- a/src/cmd/compile/doc.go
+++ b/src/cmd/compile/doc.go
@@ -146,7 +146,7 @@ directive can skip over a directive like any other comment.
// will report positions in the original input to the generator.
/*
The line directive is an historical special case; all other directives are of the form
-//go:name and must start at the begnning of a line, indicating that the directive is defined
+//go:name and must start at the beginning of a line, indicating that the directive is defined
by the Go toolchain.
//go:noescape