]> Cypherpunks repositories - gostls13.git/commit
slices: reduce code nesting depth for Compact and CompactFunc
authorJes Cok <xigua67damn@gmail.com>
Fri, 26 Apr 2024 13:49:41 +0000 (21:49 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 29 Apr 2024 14:01:59 +0000 (14:01 +0000)
commitcf164403d1ae1459bf48cb7aea3cf16f8aca5a98
treeacad93f29963c88d24b09e4b9fd223fab60595ac
parent9e0685f9c24ff80a7e710e764c1090c680a5095c
slices: reduce code nesting depth for Compact and CompactFunc

To make it easier to read.

Change-Id: I2fa1eb78d879b9d86b4dc839be7ede37c7c864f4
Reviewed-on: https://go-review.googlesource.com/c/go/+/581976
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Joedian Reid <joedian@google.com>
src/slices/slices.go