diff options
Diffstat (limited to 'doc/go_spec.html')
-rw-r--r-- | doc/go_spec.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index bd98c4290..9abebfbe7 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2300,7 +2300,7 @@ var r, ok = a[x] <p> the result of the index expression is a pair of values with types -<code>(K, bool)</code>. +<code>(V, bool)</code>. If the key is present in the map, the expression returns the pair <code>(a[x], true)</code>; otherwise it returns <code>(Z, false)</code> where <code>Z</code> is |