1
0
mirror of https://github.com/golang/go synced 2024-07-08 12:18:55 +00:00

doc/next: improve description of proposal 61308

For #61308.
For #65614.

Change-Id: I36b4f2392075d5a3fb9f53a28bd19b997e7be363
Reviewed-on: https://go-review.googlesource.com/c/go/+/592197
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Dmitri Shuralyov 2024-06-12 13:17:59 -04:00
parent 3622ad9705
commit 97bc577812

View File

@ -1,3 +1,3 @@
The [SliceAt(typ Type, p unsafe.Pointer, len int)] function
returns a Value representing a slice whose underlying array starts
at p and whose length and capacity are len.
The new [SliceAt] function is analogous to [NewAt], but for slices.
The [Value.Pointer] and [Value.UnsafePointer] methods now support values of kind [String].