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:

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.