summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShengyu Zhang <zhangshengyu.0@bytedance.com>2022-12-08 18:39:06 +0000
committerGopher Robot <gobot@golang.org>2022-12-12 14:15:22 +0000
commit5dca7ed66fd7e46ad371dd5c9655077da57eb9cf (patch)
tree4bef20ddb6147298567eb4e348ec893074763206 /doc
parent888047c31007c0ad96764254fa8afb1417ddfd40 (diff)
downloadgo-git-5dca7ed66fd7e46ad371dd5c9655077da57eb9cf.tar.gz
doc/go1.20: fix URL anchor
The URL anchor was invalid. Add the missing "array_or_" part. Change-Id: Ib27f4d0f21b0148bea8b63ef962ba0ea30166ed3 GitHub-Last-Rev: f8addc607812290ebbdbb1560f336f56390d0d8d GitHub-Pull-Request: golang/go#57154 Reviewed-on: https://go-review.googlesource.com/c/go/+/456175 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Than McIntosh <thanm@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.20.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go1.20.html b/doc/go1.20.html
index e742be3a78..028696c5b3 100644
--- a/doc/go1.20.html
+++ b/doc/go1.20.html
@@ -30,7 +30,7 @@ Do not send CLs removing the interior tags from such phrases.
</p>
<p><!-- https://go.dev/issue/46505 -->
- Go 1.17 added <a href="/ref/spec#Conversions_from_slice_to_array_pointer">conversions from slice to an array pointer</a>.
+ Go 1.17 added <a href="/ref/spec#Conversions_from_slice_to_array_or_array_pointer">conversions from slice to an array pointer</a>.
Go 1.20 extends this to allow conversions from a slice to an array:
given a slice <code>x</code>, <code>[4]byte(x)</code> can now be written
instead of <code>*(*[4]byte)(x)</code>.