From e62aab1274c25364fe8c4609c17cb0d8e57b78d0 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Mon, 6 Feb 2017 23:33:21 -0800 Subject: [PATCH] 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 --- doc/go_spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index dfa4222f6ee..603c1e75b47 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.