doc/go1.17: reword "results" in stack trace printing

"Results" may sound like the results from the previous sentence.
Reword to "function return values" for clarity.

Suggested by Tobias Kohlbau.

Change-Id: Ie78df36b5b191b06e98b802f9a46db6d067a8ea0
Reviewed-on: https://go-review.googlesource.com/c/go/+/327774
Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Tobias Kohlbau <tobias@kohlbau.de>
This commit is contained in:
Cherry Mui 2021-06-14 12:35:21 -04:00
parent fdab5be159
commit d4f34f8c63

View file

@ -406,7 +406,8 @@ func Foo() bool {
by commas. Aggregate-typed (struct, array, string, slice, interface, and complex)
arguments are delimited by curly braces. A caveat is that the value of an
argument that only lives in a register and is not stored to memory may be
inaccurate. Results (which were usually inaccurate) are no longer printed.
inaccurate. Function return values (which were usually inaccurate) are no longer
printed.
</p>
<p><!-- CL 283112, golang.org/issue/28727 -->