From 69921f4a7ec081c5b37dae13e3372003e4efd49f Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 16 Mar 2022 10:31:57 -0700 Subject: libgo: update to final Go 1.18 release Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/393377 --- libgo/go/strings/builder.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libgo/go/strings/builder.go') diff --git a/libgo/go/strings/builder.go b/libgo/go/strings/builder.go index 547e52e84..ba4df61 100644 --- a/libgo/go/strings/builder.go +++ b/libgo/go/strings/builder.go @@ -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 -- cgit v1.1