From df6d442c389097de00586f9d43fe9f594ff5f49a Mon Sep 17 00:00:00 2001 From: cui fliter Date: Sun, 9 Apr 2023 22:51:47 +0800 Subject: [PATCH] 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 --- doc/go_spec.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.

-- 2.48.1