summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-04-09 22:51:47 +0800
committerGopher Robot <gobot@golang.org>2023-04-11 01:45:40 +0000
commitdf6d442c389097de00586f9d43fe9f594ff5f49a (patch)
treefe78600698d1278cfc53d37e1d44895db78e7df0 /doc
parent58eaecbf9a9407e4556a2c6afae9186309d6b2fe (diff)
downloadgo-git-df6d442c389097de00586f9d43fe9f594ff5f49a.tar.gz
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 <iant@google.com> TryBot-Bypass: Robert Griesemer <gri@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
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
<p>
Note that <code>bytestring</code> 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.
</p>