]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj: adjust (*Link).AllPos comment in inl.go
authorDavid Chase <drchase@google.com>
Thu, 10 Nov 2022 16:45:23 +0000 (11:45 -0500)
committerDavid Chase <drchase@google.com>
Thu, 10 Nov 2022 17:44:41 +0000 (17:44 +0000)
commit2cea6cdb6016708e89c9472cdb0504731699681d
tree06959effe74fb34bbded6a725d09389527f2d995
parent7717ac151ae1556541dddc6a817ac04733f1af44
cmd/internal/obj: adjust (*Link).AllPos comment in inl.go

AllPos truncates and overwrites its slice-storage input instead
of appending.  This makes that clear.

Change-Id: I81653ff49a4a7d14fe9446fd6620943f3b20bbd3
Reviewed-on: https://go-review.googlesource.com/c/go/+/449478
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/cmd/internal/obj/inl.go