]> Cypherpunks repositories - gostls13.git/commit
runtime: remove redundant type cast
authorNodir Turakulov <nodir@google.com>
Fri, 9 Oct 2015 18:15:53 +0000 (11:15 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Fri, 9 Oct 2015 18:48:36 +0000 (18:48 +0000)
commit3be4d5982020bf60d1ed98fd7b9e40edd4c797ee
tree3c2335878a164934e2bcd0f31bd4cf0704ec7031
parent6fed2a68f7adec2a059acc4f702ebe950fdb5ce5
runtime: remove redundant type cast

  (*T)(unsafe.Pointer(&t)) === &t
for t of type T

Change-Id: I43c1aa436747dfa0bf4cb0d615da1647633f9536
Reviewed-on: https://go-review.googlesource.com/15656
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/symtab.go