diff --git a/doc/go_spec.html b/doc/go_spec.html index 4a4fa5023d..d34653f262 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1704,11 +1704,9 @@ last non-empty expression list.
A type declaration binds an identifier, the type name, to a new type that has the same definition (element, fields, channel direction, etc.) as -an existing type. With the exception of interface types, the new type is +an existing type. The new type is compatible with, but different from, the existing type. -A newly defined interface type is always -identical to the existing type.
@@ -1739,7 +1737,7 @@ type Cipher interface {
The declared type does not inherit any methods
bound to the existing type, but the method set
-of elements of a composite type or of an interface type is not changed:
+of an interface type or of elements of a composite type remains unchanged:
@@ -1757,8 +1755,7 @@ type PrintableMutex struct {
Mutex
}
-// MyCipher is an interface type that has the same method set as Cipher;
-// it is indistinguishable from Cipher.
+// MyCipher is an interface type that has the same method set as Cipher.
type MyCipher Cipher