]> Cypherpunks repositories - gostls13.git/commitdiff
strings: fix typo in comment
authorGeorge Looshch <looshch@loosh.ch>
Sat, 15 Jan 2022 19:43:05 +0000 (21:43 +0200)
committerDmitri Shuralyov <dmitshur@golang.org>
Sat, 19 Feb 2022 00:00:52 +0000 (00:00 +0000)
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>

src/strings/builder.go

index 547e52e84dde0340e173f9e34b0c54f545c15d48..ba4df618bfaa0329c6c525524a414e7c4eafd64d 100644 (file)
@@ -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