From: Shengyu Zhang
Date: Thu, 8 Dec 2022 18:39:06 +0000 (+0000)
Subject: doc/go1.20: fix URL anchor
X-Git-Tag: go1.20rc2~1^2~40
X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5dca7ed66fd7e46ad371dd5c9655077da57eb9cf;p=gostls13.git
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
Reviewed-by: Than McIntosh
Reviewed-by: Dmitri Shuralyov
Run-TryBot: Dmitri Shuralyov
TryBot-Result: Gopher Robot
Auto-Submit: Dmitri Shuralyov
---
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.
- Go 1.17 added conversions from slice to an array pointer.
+ Go 1.17 added conversions from slice to an array pointer.
Go 1.20 extends this to allow conversions from a slice to an array:
given a slice x
, [4]byte(x)
can now be written
instead of *(*[4]byte)(x)
.