diff --git a/doc/go1.21.html b/doc/go1.21.html index 14a2e5fabc..e483e1e556 100644 --- a/doc/go1.21.html +++ b/doc/go1.21.html @@ -105,6 +105,18 @@ Do not send CLs removing the interior tags from such phrases. +
+ In Go 1.21, ValueOf
+ no longer forces its argument to be allocated on the heap, allowing
+ a Value's content to be allocated on the stack. Most
+ operations on a Value also allow the underlying value
+ to be stack allocated.
+