]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/type: change fieldalign to use mixedCaps
authortwo <oohcode@gmail.com>
Sat, 21 Sep 2019 14:08:07 +0000 (14:08 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Sat, 21 Sep 2019 21:01:41 +0000 (21:01 +0000)
All spelling in source code is "fieldAlign", except this place, so change
"fieldalign" to use mixedCaps.

Change-Id: Icbd9b9d23d9b4f756174e9a3cc4b25776fd90def
GitHub-Last-Rev: 44a4fe140a4a473a234ceb5bd927109cbc35bb30
GitHub-Pull-Request: golang/go#34441
Reviewed-on: https://go-review.googlesource.com/c/go/+/196757
Run-TryBot: Andrew Bonventre <andybons@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
src/runtime/type.go

index b5e37b988648a594a08788cde5845932f2b2b903..9fb6558a32fa7cc1729f3c0ba63fd6501c5528d2 100644 (file)
@@ -32,7 +32,7 @@ type _type struct {
        hash       uint32
        tflag      tflag
        align      uint8
-       fieldalign uint8
+       fieldAlign uint8
        kind       uint8
        // function for comparing objects of this type
        // (ptr to object A, ptr to object B) -> ==?