From: Robert Griesemer Date: Tue, 7 Feb 2017 07:33:21 +0000 (-0800) Subject: spec: clarify alignment of arrays X-Git-Tag: go1.9beta1~1704 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e62aab1274c25364fe8c4609c17cb0d8e57b78d0;p=gostls13.git spec: clarify alignment of arrays Fixes #18950. Change-Id: I9f94748f36a896bcadc96f0642eb1f3bff387950 Reviewed-on: https://go-review.googlesource.com/36481 Reviewed-by: Russ Cox Reviewed-by: Ian Lance Taylor --- diff --git a/doc/go_spec.html b/doc/go_spec.html index dfa4222f6e..603c1e75b4 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -6468,7 +6468,7 @@ The following minimal alignment properties are guaranteed:
  • For a variable x of array type: unsafe.Alignof(x) is the same as - unsafe.Alignof(x[0]), but at least 1. + the alignment of a variable of the array's element type.