]> Cypherpunks repositories - gostls13.git/commit
reflect: explain StructField.Anonymous field as 'embedded'
authorRuss Cox <rsc@golang.org>
Sat, 2 Feb 2013 02:01:46 +0000 (21:01 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 2 Feb 2013 02:01:46 +0000 (21:01 -0500)
commitb396d1143b3e717eb2828a101feeb8eb6810891b
treedc191968c9a39911921e4f84cffc7f930eea4bdf
parent2cb8dcea5c18730425c0f7ceb40c56a4c15f0d5e
reflect: explain StructField.Anonymous field as 'embedded'

The spec mostly uses the term embedded.
It's too late to change the field name but at least fix the docs.

Fixes #4514.

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/7235080
src/pkg/reflect/type.go