]> Cypherpunks repositories - gostls13.git/commitdiff
doc/next: improve description of proposal 61308
authorDmitri Shuralyov <dmitshur@golang.org>
Wed, 12 Jun 2024 17:17:59 +0000 (13:17 -0400)
committerDmitri Shuralyov <dmitshur@golang.org>
Wed, 12 Jun 2024 18:56:34 +0000 (18:56 +0000)
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>

doc/next/6-stdlib/99-minor/reflect/61308.md

index ed21ec3a375ea4cc42d8725b46717ce007af7e02..ec24655dce2c655096db1df63fc61b6ed50b272c 100644 (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.
\ No newline at end of file
+The new [SliceAt] function is analogous to [NewAt], but for slices.
+
+The [Value.Pointer] and [Value.UnsafePointer] methods now support values of kind [String].