From: Anschel Schaffer-Cohen Date: Fri, 12 Nov 2010 17:57:46 +0000 (-0800) Subject: Fixed recover() documentation. X-Git-Tag: weekly.2010-11-23~31 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=5083eedf88de13dc661f78077d9d7b7eaeebcf78;p=gostls13.git Fixed recover() documentation. Added a "return" to the end of an example which previously threw a compile error if used. R=golang-dev, gri CC=golang-dev https://golang.org/cl/3052041 --- diff --git a/doc/go_spec.html b/doc/go_spec.html index 6c9283dd33..2b2817d9cb 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -4744,6 +4744,7 @@ func IsPrintable(s string) (ok bool) { // The return value will be true normally, false if a panic occurred. }() panicIfNotPrintable(s) // will panic if validations fails. + return }