From e39480f4fb5e7314daef012b58cf05e3c9ceea1a Mon Sep 17 00:00:00 2001 From: cui fliter Date: Thu, 29 Feb 2024 16:50:23 +0800 Subject: doc: close HTML tags Add unclosed HTML tags and remove redundant tags. Change-Id: I3fffbcfd640001c9cc4f6085150344daa0c4369b Reviewed-on: https://go-review.googlesource.com/c/go/+/568155 Reviewed-by: Bryan Mills Run-TryBot: shuang cui TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI --- doc/go_mem.html | 16 ++++++++-------- doc/go_spec.html | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'doc') 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 memory operation is modeled by four details:

    -
  • its kind, indicating whether it is an ordinary data read, an ordinary data write, -or a synchronizing operation such as an atomic data access, -a mutex operation, or a channel operation, -
  • its location in the program, -
  • the memory location or variable being accessed, and -
  • the values read or written by the operation. +
  • its kind, indicating whether it is an ordinary data read, an ordinary data write, + or a synchronizing operation such as an atomic data access, + a mutex operation, or a channel operation,
  • +
  • its location in the program,
  • +
  • the memory location or variable being accessed, and
  • +
  • the values read or written by the operation.

Some memory operations are read-like, including read, atomic read, mutex lock, and channel receive. @@ -162,8 +162,8 @@ where visible means that both of the following hold:

    -
  1. w happens before r. -
  2. w does not happen before any other write w' (to x) that happens before r. +
  3. w happens before r.
  4. +
  5. w does not happen before any other write w' (to x) that happens before r.

diff --git a/doc/go_spec.html b/doc/go_spec.html index 7b9dd3862a..8f48f7444b 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1682,6 +1682,7 @@ maps grow to accommodate the number of items stored in them, with the exception of nil maps. A nil map is equivalent to an empty map except that no elements may be added. +

Channel types

@@ -7300,7 +7301,7 @@ The number of elements copied is the minimum of len(src) and len(dst). As a special case, if the destination's core type is []byte, copy also accepts a source argument with core type - bytestring. +bytestring. This form copies the bytes from the byte slice or string into the byte slice.

-- cgit v1.2.3-54-g00ecf