From: cui fliter Date: Sun, 9 Apr 2023 14:51:47 +0000 (+0800) Subject: doc: fix "are" to "or" in core types X-Git-Tag: go1.21rc1~965 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=df6d442c389097de00586f9d43fe9f594ff5f49a;p=gostls13.git doc: fix "are" to "or" in core types Fixes #59506 Change-Id: I2f8b92e93b706b061ca0eb0bd52e5cf798ce9ede Reviewed-on: https://go-review.googlesource.com/c/go/+/483358 Reviewed-by: Ian Lance Taylor TryBot-Bypass: Robert Griesemer Reviewed-by: Robert Griesemer Auto-Submit: Robert Griesemer --- diff --git a/doc/go_spec.html b/doc/go_spec.html index cbcaf3a338..8aea636c6b 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1885,7 +1885,7 @@ interface{ ~[]byte | myString } // bytestring

Note that bytestring is not a real type; it cannot be used to declare -variables are compose other types. It exists solely to describe the behavior of some +variables or compose other types. It exists solely to describe the behavior of some operations that read from a sequence of bytes, which may be a byte slice or a string.