]> Cypherpunks repositories - gostls13.git/commitdiff
reflect: fix typo in comment
authorIan Lance Taylor <iant@golang.org>
Tue, 22 Nov 2016 23:50:03 +0000 (15:50 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 23 Nov 2016 01:14:59 +0000 (01:14 +0000)
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>
src/reflect/type.go

index 7216fb63c86ca8361169c8e168606f35dcc35b6a..9d6e7a6846781f7513760da833e01b9a56bf99a4 100644 (file)
@@ -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++
        }