Commit 5083eedf authored by Anschel Schaffer-Cohen's avatar Anschel Schaffer-Cohen Committed by Robert Griesemer

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
parent 8613eb56
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment