]> Cypherpunks repositories - gostls13.git/commit
cmd/asm/internal: use slices.Contains
authorTobias Klauser <tklauser@distanz.ch>
Thu, 5 Sep 2024 09:17:41 +0000 (11:17 +0200)
committerGopher Robot <gobot@golang.org>
Fri, 6 Sep 2024 13:17:27 +0000 (13:17 +0000)
commite6ae2d83acc088349f7a327a968ffa1f2ae41dec
tree3244fe1fc4924c31262407b05ac5de1b4e6ec606
parent12dcbed45190fecf56ca46d82cd7439cf6015b67
cmd/asm/internal: use slices.Contains

Now that Go 1.22.6 is the minimum bootstrap toolchain (cf. CL 606156),
the slices package (introduced in Go 1.21) can be used in packages built
using the bootstrap toolchain.

For #64751

Change-Id: I0115213da4b1f0a1fa0ef7ad34456fbf52e00fae
Reviewed-on: https://go-review.googlesource.com/c/go/+/611095
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/asm/internal/lex/input.go