diff --git a/doc/go_spec.html b/doc/go_spec.html index 9232eb0f8a..bb76134248 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -1453,9 +1453,9 @@ components have identical types. In detail: Non-exported method names from different packages are always different. The order of the methods is irrelevant. -
a of map type M:
assignable
to the key type of M
x,
- a[x] is the map value with key x
- and the type of a[x] is the value type of Ma[x] is the map element with key x
+ and the type of a[x] is the element type of M
nil or does not contain such an entry,
a[x] is the zero value
- for the value type of MM
@@ -5122,7 +5122,7 @@ for i, s := range a { } var key string -var val interface {} // value type of m is assignable to val +var val interface {} // element type of m is assignable to val m := map[string]int{"mon":0, "tue":1, "wed":2, "thu":3, "fri":4, "sat":5, "sun":6} for key, val = range m { h(key, val)