mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
strings: fix typo in comment
Remove unnecessary whitespace in noescape comment Fixes #50634 Change-Id: I1c8d16c020b05678577d349470fac7e7ab8a10b7 Reviewed-on: https://go-review.googlesource.com/c/go/+/378815 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
61b5c866a9
commit
e002cf4df7
1 changed files with 3 additions and 4 deletions
|
@ -17,10 +17,9 @@ type Builder struct {
|
|||
buf []byte
|
||||
}
|
||||
|
||||
// noescape hides a pointer from escape analysis. noescape is
|
||||
// the identity function but escape analysis doesn't think the
|
||||
// output depends on the input. noescape is inlined and currently
|
||||
// compiles down to zero instructions.
|
||||
// noescape hides a pointer from escape analysis. It is the identity function
|
||||
// but escape analysis doesn't think the output depends on the input.
|
||||
// noescape is inlined and currently compiles down to zero instructions.
|
||||
// USE CAREFULLY!
|
||||
// This was copied from the runtime; see issues 23382 and 7921.
|
||||
//go:nosplit
|
||||
|
|
Loading…
Reference in a new issue