From: Dmitri Shuralyov Date: Wed, 12 Jun 2024 17:17:59 +0000 (-0400) Subject: doc/next: improve description of proposal 61308 X-Git-Tag: go1.23rc1~34 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=97bc577812592c2bc40bd1f2bc0d78c5d8281ff6;p=gostls13.git 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 Reviewed-by: Dmitri Shuralyov TryBot-Bypass: Dmitri Shuralyov --- diff --git a/doc/next/6-stdlib/99-minor/reflect/61308.md b/doc/next/6-stdlib/99-minor/reflect/61308.md index ed21ec3a37..ec24655dce 100644 --- a/doc/next/6-stdlib/99-minor/reflect/61308.md +++ b/doc/next/6-stdlib/99-minor/reflect/61308.md @@ -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].