1
0
mirror of https://github.com/golang/go synced 2024-09-24 05:10:13 -06:00

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>
This commit is contained in:
cui fliter 2023-04-09 22:51:47 +08:00 committed by Gopher Robot
parent 58eaecbf9a
commit df6d442c38

View File

@ -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>