From: Joe Poirier Date: Thu, 8 Apr 2010 00:25:57 +0000 (+1000) Subject: gp_spec typo fix: code example in the "Handling panics" section X-Git-Tag: weekly.2010-04-13~46 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d37e87c1b25d36876de435c3f6584f647b97cd18;p=gostls13.git gp_spec typo fix: code example in the "Handling panics" section R=rsc, adg CC=golang-dev https://golang.org/cl/881047 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index d34653f262..5c62d38429 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 }