summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAnschel Schaffer-Cohen <anschelsc@gmail.com>2010-11-12 09:57:46 -0800
committerAnschel Schaffer-Cohen <anschelsc@gmail.com>2010-11-12 09:57:46 -0800
commitba50e1041b031fe1bd271383d6c5a8d9494778d6 (patch)
tree3ee44b4ad4b17d62cd0c576e5322176c98de9e31 /doc
parent1ded053930fe3cc2bf487d5c59a4c6dede34ce61 (diff)
downloadgo-ba50e1041b031fe1bd271383d6c5a8d9494778d6.tar.gz
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 http://codereview.appspot.com/3052041 Committer: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go_spec.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html
index 6c9283dd3..2b2817d9c 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
}
</pre>