]> Cypherpunks repositories - gostls13.git/commit
runtime: remove no-op slice operation in Caller
authorDmitri Shuralyov <dmitshur@golang.org>
Mon, 15 Apr 2024 23:54:01 +0000 (19:54 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 16 Apr 2024 14:45:14 +0000 (14:45 +0000)
commitf17b28de78e7b2debd555f84a0e48be010e4fc88
tree0b2e614e8af178daab424e02d8e7eb78a800d08d
parent315b6ae682a2a4e7718924a45b8b311a0fe10043
runtime: remove no-op slice operation in Caller

rpc was an array prior to CL 152537, so it was necessary to slice
it since callers accepts a slice. Now that rpc is already a slice,
slicing it is no longer required.

Change-Id: Ie646ef5e494323c9fb58f3a24f942e3b1ff639ea
Reviewed-on: https://go-review.googlesource.com/c/go/+/579016
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/runtime/extern.go