]> Cypherpunks repositories - gostls13.git/commit
slices: print modified cloned slice in ExampleClone
authorTobias Klauser <tklauser@distanz.ch>
Thu, 3 Oct 2024 15:23:22 +0000 (17:23 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 3 Oct 2024 17:47:36 +0000 (17:47 +0000)
commitfe873490028958be3f9338ff45c9b0f6fe9a11dc
treef82080f2f1f3224702d007599c9bf19529a996fe
parent1edb49a6eb37af8593e25fed63029343fc9177f5
slices: print modified cloned slice in ExampleClone

Make it obvious that numbers wasn't modified, but clone was.

Change-Id: Id8bd4ca59b7348cd218faef61abfdf12e20c89f0
Reviewed-on: https://go-review.googlesource.com/c/go/+/617795
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/slices/example_test.go