]> Cypherpunks repositories - gostls13.git/commit
unsafe: document that Sizeof includes field alignment
authorIan Lance Taylor <iant@golang.org>
Fri, 1 Apr 2022 03:41:12 +0000 (20:41 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 4 Apr 2022 20:37:59 +0000 (20:37 +0000)
commit11ec59a60e0d18e805b7f0c3a2c5ee8c10481877
tree82e3bcd3b7fe9461917407d256a745f873426a25
parent7fbabe8d57de184c75bc938fa619235711bc4229
unsafe: document that Sizeof includes field alignment

Fixes #52018

Change-Id: I6d06d5b5279b9bdc899b0ad43488577d3c0b94be
Reviewed-on: https://go-review.googlesource.com/c/go/+/397516
Trust: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Rob Pike <r@golang.org>
src/unsafe/unsafe.go