mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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:
parent
fdab5be159
commit
d4f34f8c63
1 changed files with 2 additions and 1 deletions
|
|
@ -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 -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue