]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix typo in go memory model doc
authorDerek Parker <parkerderek86@gmail.com>
Mon, 4 Aug 2025 18:33:05 +0000 (11:33 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 5 Aug 2025 15:41:37 +0000 (08:41 -0700)
Fixes a typo where originally "may by" was written where the intent was
"may be".

Change-Id: Ia5ba51a966506395c41b17ca28d59f63bd487f3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/693075
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Bypass: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>

doc/go_mem.html

index 7adc34828a739ae9d27e1b344c4a3bf64aaea919..8db7d65e7342a81a6127b4519ad77d5b6fa666a5 100644 (file)
@@ -231,7 +231,7 @@ do exactly this.
 
 <p>
 A read of an array, struct, or complex number
-may by implemented as a read of each individual sub-value
+may be implemented as a read of each individual sub-value
 (array element, struct field, or real/imaginary component),
 in any order.
 Similarly, a write of an array, struct, or complex number