From: Cherry Mui
Date: Fri, 8 Dec 2023 20:33:14 +0000 (-0500)
Subject: doc/go1.22: document that reflect.PtrTo is deprecated
X-Git-Tag: go1.22rc1~55
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f360ffd95a9c2a40901a53956901681ef53b7049;p=gostls13.git
doc/go1.22: document that reflect.PtrTo is deprecated
Updates #59599.
For #61422.
Change-Id: I923be38b719a78dd983372acad93f710a53b0922
Reviewed-on: https://go-review.googlesource.com/c/go/+/548036
Reviewed-by: Keith Randall
TryBot-Bypass: Cherry Mui
Reviewed-by: Keith Randall
---
diff --git a/doc/go1.22.html b/doc/go1.22.html
index fc0d95510f..c87d9d3b21 100644
--- a/doc/go1.22.html
+++ b/doc/go1.22.html
@@ -633,6 +633,12 @@ defer func() {
a value to zero using the language ==
operator.
+
+
+ The PtrTo
function is deprecated,
+ in favor of PointerTo
.
+
+
- runtime/metrics