aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2016-11-22 15:50:03 -0800
committerIan Lance Taylor <iant@golang.org>2016-11-23 01:14:59 +0000
commitb1dbc9f8c0257aca065126d8dfc3ebfe0be2aada (patch)
treed633388b69d85ac01af6a2b7295897974b9d77f8
parent50c4dbced991a01d4d707c00dc40c1a6366e9458 (diff)
downloadgo-b1dbc9f8c0257aca065126d8dfc3ebfe0be2aada.tar.xz
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>
-rw-r--r--src/reflect/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reflect/type.go b/src/reflect/type.go
index 7216fb63c8..9d6e7a6846 100644
--- a/src/reflect/type.go
+++ b/src/reflect/type.go
@@ -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++
}