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:
parent
58eaecbf9a
commit
df6d442c38
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user