diff --git a/doc/go1.18.html b/doc/go1.18.html index a5b47fa261..f4d097d06b 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -127,12 +127,25 @@ Do not send CLs removing the interior tags from such phrases. +
+ The new
+ Value.SetIterKey
+ and Value.SetIterValue
+ methods set a Value using a map iterator as the source. They are equivalent to
+ Value.Set(iter.Key()) and Value.Set(iter.Value()) but
+ do fewer allocations.
+