]> Cypherpunks repositories - gostls13.git/commit
slices: Delete clears the tail when j == len(s)
authorDeleplace <deleplace@google.com>
Thu, 22 Feb 2024 22:44:31 +0000 (23:44 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 27 Feb 2024 21:29:43 +0000 (21:29 +0000)
commitd3e827d371ac2e6bb68c81d992f99ccd4b1b2cf1
treead66d0d6fca5dfd60fa1796cba93df5aa93911a7
parentb847d4cd2c2293d025720d4ae57b2e9578831d29
slices: Delete clears the tail when j == len(s)

Fixes #65669

Change-Id: Ifd2011dd604fef399e4352b804fc2f6a9e74096e
Reviewed-on: https://go-review.googlesource.com/c/go/+/566237
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@golang.org>
src/slices/slices.go
src/slices/slices_test.go