]> Cypherpunks repositories - gostls13.git/commit
all: use unsafe.{Slice, SliceData, String, StringData} to simplify code
authorhopehook <hopehook.com@gmail.com>
Wed, 7 Sep 2022 14:34:48 +0000 (22:34 +0800)
committerGopher Robot <gobot@golang.org>
Thu, 8 Sep 2022 21:16:39 +0000 (21:16 +0000)
commita9a398220ff387fe4924aee08365ffc374767a3a
tree7e87c5d5eb49cbcd2d3943a37a656a09893cc414
parent2c3187cd4295605033740ff0522b1457a702d84d
all: use unsafe.{Slice, SliceData, String, StringData} to simplify code

Because most of these APIs are recently supported, we can only do some
advancement work as much as possible under the premise of compatibility.

For #54854.

Change-Id: Id15d11288bf23902570d54eaf2704a5264210b2e
Reviewed-on: https://go-review.googlesource.com/c/go/+/429115
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: hopehook <hopehook@golangcn.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
src/cmd/go/internal/modindex/read.go
src/hash/maphash/maphash.go
src/internal/fuzz/counters_supported.go