]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.17: reword "results" in stack trace printing
authorCherry Mui <cherryyz@google.com>
Mon, 14 Jun 2021 16:35:21 +0000 (12:35 -0400)
committerCherry Mui <cherryyz@google.com>
Mon, 14 Jun 2021 19:26:24 +0000 (19:26 +0000)
"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>
doc/go1.17.html

index 35d0f974502b90fdd62e8379e16767f3b6de672f..e0856ff83abd7cea3aba69acc62c800d51133d10 100644 (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 -->