diff options
author | Matthew Dempsky <mdempsky@google.com> | 2022-02-26 21:08:52 -0800 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2022-02-28 19:00:23 +0000 |
commit | b33592dcfd2c8cf1e574531ecb49af7755864e82 (patch) | |
tree | de5401aa5ee282194e2f5f37c9e9cdb1a22eea88 /doc | |
parent | 57e3809884dd695d484acaefba8ded720c5a02c1 (diff) | |
download | go-b33592dcfd2c8cf1e574531ecb49af7755864e82.tar.gz go-b33592dcfd2c8cf1e574531ecb49af7755864e82.zip |
spec: the -'s possessive suffix is English, not code
Change-Id: I2debcf926ef116c632c7366646d37de8686b7c9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/388174
Reviewed-by: Robert Griesemer <gri@golang.org>
Trust: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/go_spec.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index bf8b5ed5bf7..6c6f982854a 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,6 +1,6 @@ <!--{ "Title": "The Go Programming Language Specification - Go 1.18 Draft", - "Subtitle": "Version of Feb 14, 2022", + "Subtitle": "Version of Feb 28, 2022", "Path": "/ref/spec" }--> @@ -2008,7 +2008,7 @@ by a value of type <code>T</code>. </ul> <p> -Additionally, if <code>x's</code> type <code>V</code> or <code>T</code> are type parameters +Additionally, if <code>x</code>'s type <code>V</code> or <code>T</code> are type parameters with <a href="#Specific_types">specific types</a>, <code>x</code> is assignable to a variable of type <code>T</code> if one of the following conditions applies: </p> @@ -7414,7 +7414,7 @@ an explicit call to <code>panic</code> or a <a href="#Run_time_panics">run-time terminates the execution of <code>F</code>. Any functions <a href="#Defer_statements">deferred</a> by <code>F</code> are then executed as usual. -Next, any deferred functions run by <code>F's</code> caller are run, +Next, any deferred functions run by <code>F</code>'s caller are run, and so on up to any deferred by the top-level function in the executing goroutine. At that point, the program is terminated and the error condition is reported, including the value of the argument to <code>panic</code>. |