summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d34653f26..5c62d3842 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -4570,7 +4570,7 @@ If the function defined here,
func f(hideErrors bool) {
defer func() {
if x := recover(); x != nil {
- println("panicking with value", v)
+ println("panicking with value", x)
if !hideErrors {
panic(x) // go back to panicking
}