diff --git a/doc/go_spec.html b/doc/go_spec.html index 64cfef5017..2075880e69 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -897,9 +897,9 @@ struct {

-A field declared with a type but no explicit field name is an anonymous field -(colloquially called an embedded field). -Such a field type must be specified as +A field declared with a type but no explicit field name is an anonymous field, +also called an embedded field or an embedding of the type in the struct. +An embedded type must be specified as a type name T or as a pointer to a non-interface type name *T, and T itself may not be a pointer type. The unqualified type name acts as the field name. @@ -1141,8 +1141,8 @@ type File interface {

-An interface definition for type T may not embed itself, -nor any interface type that embeds T directly or indirectly. +An interface type T may not embed itself +or any interface type that embeds T, recursively.