]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.18: use correct link for reflect.PointerTo
authorIan Lance Taylor <iant@golang.org>
Sat, 4 Dec 2021 14:34:08 +0000 (06:34 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 4 Dec 2021 17:16:07 +0000 (17:16 +0000)
For #47694

Change-Id: Iee4fda069a56ea4436b8aa32e2605f3349d7c154
Reviewed-on: https://go-review.googlesource.com/c/go/+/369334
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
doc/go1.18.html

index fa65ad604e1077e6e8b59a33e00f6f75c0184676..16a5a6723cae956113ad68bad4da6e0191282ab3 100644 (file)
@@ -687,7 +687,7 @@ Do not send CLs removing the interior tags from such phrases.
       <a href="/pkg/reflect#PtrTo"><code>reflect.PtrTo</code></a>
       have been renamed to
       <a href="/pkg/reflect#Pointer"><code>reflect.Pointer</code></a> and
-      <a href="/pkg/reflect#Pointer"><code>reflect.PointerTo</code></a>,
+      <a href="/pkg/reflect#PointerTo"><code>reflect.PointerTo</code></a>,
       respectively, for consistency with the rest of the reflect package.
       The old names will continue to work, but will be deprecated in a
       future Go release.