diff --git a/doc/go_spec.html b/doc/go_spec.html index f0aac6b141..ae0a4616a7 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -678,7 +678,7 @@ and T4 is []T1. A type may have a method set associated with it (§Interface types, §Method declarations). The method set of an interface type is its interface. -The method set of any other named type T +The method set of any other type T consists of all methods with receiver type T. The method set of the corresponding pointer type *T is the set of all methods with receiver *T or T @@ -954,7 +954,7 @@ struct {

Fields and methods (§Method declarations) of an anonymous field are promoted to be ordinary fields and methods of the struct (§Selectors). -The following rules apply for a struct type named S and +The following rules apply for a struct type S and a type named T: