]> Cypherpunks.ru repositories - gostls13.git/commit
slices: explicitly discard results of some functions
authorAlan Donovan <adonovan@google.com>
Fri, 5 Jan 2024 20:54:03 +0000 (15:54 -0500)
committerAlan Donovan <adonovan@google.com>
Fri, 5 Jan 2024 21:35:07 +0000 (21:35 +0000)
commit8088b6db2341e6efdb9e0b0f43953ccd17fd9705
tree22512abc1c0418912333353d25c33d822ffd738d
parentc0693f648a2fd98aae126ef4f68cd7b6ebff40cd
slices: explicitly discard results of some functions

This will otherwise trigger an "unusedresult" vet check.

Fixes #64978

Change-Id: Ie19aded0f808d394f389452c3ff7f3edc1ed710d
Reviewed-on: https://go-review.googlesource.com/c/go/+/554196
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
src/slices/slices_test.go