diff options
author | Aaron Jacobs <jacobsa@google.com> | 2015-10-21 15:51:02 +1100 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2015-10-21 04:51:54 +0000 |
commit | d8c6bf916e9afe3c53bfe781d2d42933d5c9626e (patch) | |
tree | d0905e982c0da008980604662a8510e62f23c4c4 /src/cmd/compile/doc.go | |
parent | b60c8203eac32eb0d0b11751ba8f85b2f5eada81 (diff) | |
download | go-d8c6bf916e9afe3c53bfe781d2d42933d5c9626e.tar.gz go-d8c6bf916e9afe3c53bfe781d2d42933d5c9626e.zip |
cmd/compile: remove a stray word in the go:nosplit documentation
Change-Id: I7a85c0ad8aba2d50032c8faa58c83fb327f360cf
Reviewed-on: https://go-review.googlesource.com/16140
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/cmd/compile/doc.go')
-rw-r--r-- | src/cmd/compile/doc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/doc.go b/src/cmd/compile/doc.go index e362657a00..59c660b2d5 100644 --- a/src/cmd/compile/doc.go +++ b/src/cmd/compile/doc.go @@ -107,7 +107,7 @@ The //line directive is an historical special case; all other directives are of The //go:noescape directive specifies that the next declaration in the file, which must be a func without a body (meaning that it has an implementation not written in Go) does not allow any of the pointers passed as arguments to escape into the -heap or into the values returned from the function. This information can be used as +heap or into the values returned from the function. This information can be used during the compiler's escape analysis of Go code calling the function. //go:nosplit |