spec: clarify wording describing result of recover #57739
Labels
Documentation
Issues describing a change to documentation.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What is the URL of the page with the issue?
https://go.dev/ref/spec
What is your user agent?
chrome (not relevant)
Screenshot
(not relevant)
What did you do?
Reporting a doc nit
What did you expect to see?
(not relevant)
What did you see instead?
Not sure where to find the source of the golang language spec to report this:
The words "the return value of D's call to recover will be the value passed to the call of panic" would be more clearly stated as:
"D's call to recover will return the value previously passed to the call of panic" possible adding " that initiated the unwinding"
The two wordings are equivalent, but the first wording may cause some readers dissonance while they figure out how the return value of D's call to recover could become the value passed to the call of panic.
The text was updated successfully, but these errors were encountered: