diff --git a/doc/go_spec.html b/doc/go_spec.html
index 6c9283dd33f..2b2817d9cbe 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
}