]> Cypherpunks.ru repositories - gostls13.git/commitdiff
doc: fix "are" to "or" in core types
authorcui fliter <imcusg@gmail.com>
Sun, 9 Apr 2023 14:51:47 +0000 (22:51 +0800)
committerGopher Robot <gobot@golang.org>
Tue, 11 Apr 2023 01:45:40 +0000 (01:45 +0000)
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>

doc/go_spec.html

index cbcaf3a33857a843d7d7cc3c522967f743f15b61..8aea636c6bbf58f8629a16a39e86e42c89abfd6b 100644 (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>