aboutsummaryrefslogtreecommitdiff
path: root/doc/go_mem.html
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-02-29 16:50:23 +0800
committerGopher Robot <gobot@golang.org>2024-03-04 15:54:42 +0000
commite39480f4fb5e7314daef012b58cf05e3c9ceea1a (patch)
tree003eec62c2a9e06edc4aeda5754ff6ecf6192292 /doc/go_mem.html
parenta5f8ae9f6566946529a51b69d2f3f0689abc00eb (diff)
downloadgo-e39480f4fb5e7314daef012b58cf05e3c9ceea1a.tar.gz
go-e39480f4fb5e7314daef012b58cf05e3c9ceea1a.zip
doc: close HTML tags
Add unclosed HTML tags and remove redundant </a> tags. Change-Id: I3fffbcfd640001c9cc4f6085150344daa0c4369b Reviewed-on: https://go-review.googlesource.com/c/go/+/568155 Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'doc/go_mem.html')
-rw-r--r--doc/go_mem.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/go_mem.html b/doc/go_mem.html
index 026c1172e3..c0b81d3fac 100644
--- a/doc/go_mem.html
+++ b/doc/go_mem.html
@@ -98,12 +98,12 @@ which in turn are made up of memory operations.
A <i>memory operation</i> is modeled by four details:
</p>
<ul>
-<li>its kind, indicating whether it is an ordinary data read, an ordinary data write,
-or a <i>synchronizing operation</i> such as an atomic data access,
-a mutex operation, or a channel operation,
-<li>its location in the program,
-<li>the memory location or variable being accessed, and
-<li>the values read or written by the operation.
+ <li>its kind, indicating whether it is an ordinary data read, an ordinary data write,
+ or a <i>synchronizing operation</i> such as an atomic data access,
+ a mutex operation, or a channel operation,</li>
+ <li>its location in the program,</li>
+ <li>the memory location or variable being accessed, and</li>
+ <li>the values read or written by the operation.</li>
</ul>
<p>
Some memory operations are <i>read-like</i>, including read, atomic read, mutex lock, and channel receive.
@@ -162,8 +162,8 @@ where visible means that both of the following hold:
</p>
<ol>
-<li><i>w</i> happens before <i>r</i>.
-<li><i>w</i> does not happen before any other write <i>w'</i> (to <i>x</i>) that happens before <i>r</i>.
+ <li><i>w</i> happens before <i>r</i>.</li>
+ <li><i>w</i> does not happen before any other write <i>w'</i> (to <i>x</i>) that happens before <i>r</i>.</li>
</ol>
<p>