diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go_spec.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index 589d90458..f296c2a38 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1263,7 +1263,8 @@ literal structure and corresponding components have identical types. In detail: <li>Two slice types are identical if they have identical element types.</li> <li>Two struct types are identical if they have the same sequence of fields, - and if corresponding fields have the same names and identical types. + and if corresponding fields have the same names, and identical types, + and identical tags. Two anonymous fields are considered to have the same name. Lower-case field names from different packages are always different.</li> |