diff --git a/doc/go_spec.html b/doc/go_spec.html index 165e9bebf2..e7e6c78de5 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ @@ -4726,7 +4726,8 @@ and saved anew but the actual function is not invoked. Instead, deferred calls are executed in LIFO order immediately before the surrounding function returns, -after the return values, if any, have been evaluated, but before they +after the return values, if any, have been evaluated and assigned +to the result parameters, but before they are returned to the caller. For instance, if the deferred function is a function literal and the surrounding function has named result parameters that