aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Freeman <mark@golang.org>2025-05-05 16:39:11 -0400
committerGopher Robot <gobot@golang.org>2025-05-06 12:12:15 -0700
commit66ea0ee409df5a025296d7dac8bb3dc1ec0d2b90 (patch)
tree0bb76f3316bfe7e8915f44e1aceed5b5f3c6564f /doc
parentd365f2266df98985f19705717ff8cf4ad3e743dc (diff)
downloadgo-66ea0ee409df5a025296d7dac8bb3dc1ec0d2b90.tar.xz
spec: avoid use of "raise" in conjunction with panics
For #73526 Change-Id: I06d8ae9080695745db68a51635faa0b244c1760e Reviewed-on: https://go-review.googlesource.com/c/go/+/670155 Reviewed-by: Robert Griesemer <gri@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Mark Freeman <mark@golang.org> Auto-Submit: Mark Freeman <mark@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 479605e36c..183bc7fb37 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -7894,7 +7894,7 @@ causes a <a href="#Run_time_panics">run-time panic</a>.
<p>
The <code>protect</code> function in the example below invokes
the function argument <code>g</code> and protects callers from
-run-time panics raised by <code>g</code>.
+run-time panics caused by <code>g</code>.
</p>
<pre>