Skip to content

Commit

Permalink
spec: the -'s possessive suffix is English, not code
Browse files Browse the repository at this point in the history
Change-Id: I2debcf926ef116c632c7366646d37de8686b7c9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/388174
Reviewed-by: Robert Griesemer <[email protected]>
Trust: Matthew Dempsky <[email protected]>
  • Loading branch information
mdempsky committed Feb 28, 2022
1 parent 57e3809 commit b33592d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/go_spec.html
Original file line number Diff line number Diff line change
@@ -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"
}-->

Expand Down Expand Up @@ -2008,7 +2008,7 @@ <h3 id="Assignability">Assignability</h3>
</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>
Expand Down Expand Up @@ -7414,7 +7414,7 @@ <h3 id="Handling_panics">Handling panics</h3>
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>.
Expand Down

0 comments on commit b33592d

Please sign in to comment.