]> Cypherpunks repositories - gostls13.git/commit
cmd: use slices.Equal to simplify code
authorcui fliter <imcusg@gmail.com>
Thu, 4 May 2023 11:30:53 +0000 (19:30 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 10 May 2023 10:18:37 +0000 (10:18 +0000)
commit2ca4104f0519027c55266d48b47ea16ee4da6915
treed6c86767def006b1e1b48de30a69142fd86b96cc
parent5d76600cc01790c0eed9d0e2783ecf5bc7957993
cmd: use slices.Equal to simplify code

#57433 added slices.Equal, using it can reduce the amount of code

Change-Id: I70d14b6c4c24da641a34ed36c900d9291033f526
Reviewed-on: https://go-review.googlesource.com/c/go/+/492576
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
src/cmd/covdata/argsmerge.go