diff --git a/doc/go_spec.html b/doc/go_spec.html index 4e00aabf45e..0f095da814c 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,5 +1,5 @@ - + @@ -2957,7 +2956,8 @@ These terms and the result of the comparisons are defined as follows:
  • Pointer values are comparable. - Two pointer values are equal if they point to the same location or if both have value nil. + Two pointer values are equal if they point to the same variable or if both have value nil. + Pointers to distinct zero-size variables may or may not be equal.
  • @@ -5348,6 +5348,11 @@ The following minimal alignment properties are guaranteed:
  • +

    +A struct or array type has size zero if it contains no fields (or elements, respectively) that have a size greater than zero. Two distinct zero-size variables may have the same address in memory. +

    + +

    Implementation differences - TODO