From f360ffd95a9c2a40901a53956901681ef53b7049 Mon Sep 17 00:00:00 2001 From: Cherry Mui Date: Fri, 8 Dec 2023 15:33:14 -0500 Subject: [PATCH] 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 --- doc/go1.22.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/go1.22.html b/doc/go1.22.html index fc0d95510fc..c87d9d3b21e 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