mirror of https://github.com/golang/go.git
reflect: fix typo in comment
Sigh, forgot to run `git mail`. Change-Id: Idc49be2bb20d6f0e392cb472a63267ffee2ca22c Reviewed-on: https://go-review.googlesource.com/33476 Reviewed-by: Michael Hudson-Doyle <michael.hudson@canonical.com>
This commit is contained in:
parent
50c4dbced9
commit
b1dbc9f8c0
|
|
@ -2582,7 +2582,7 @@ func StructOf(fields []StructField) Type {
|
|||
// This is a non-zero sized struct that ends in a
|
||||
// zero-sized field. We add an extra byte of padding,
|
||||
// to ensure that taking the address of the final
|
||||
// zero-sized field can't manufacture a poitner to the
|
||||
// zero-sized field can't manufacture a pointer to the
|
||||
// next object in the heap. See issue 9401.
|
||||
size++
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue