diff options
| author | Anschel Schaffer-Cohen <anschelsc@gmail.com> | 2010-11-12 09:57:46 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2010-11-12 09:57:46 -0800 |
| commit | 5083eedf88de13dc661f78077d9d7b7eaeebcf78 (patch) | |
| tree | c5caa445b6300db86de7835e01281ffafeb09545 | |
| parent | 8613eb56b25afaa8e73c289d36292c79bdb8bc96 (diff) | |
| download | go-5083eedf88de13dc661f78077d9d7b7eaeebcf78.tar.xz | |
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
| -rw-r--r-- | doc/go_spec.html | 1 |
1 files changed, 1 insertions, 0 deletions
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 } </pre> |
