diff --git a/doc/go_spec.html b/doc/go_spec.html
index 3d4123c438..53b63fa4de 100644
--- a/doc/go_spec.html
+++ b/doc/go_spec.html
@@ -4661,7 +4661,7 @@ func IsPrintable(s string) (ok bool) {
}
// Panicking has stopped; execution will resume normally in caller.
// The return value will be true normally, false if a panic occurred.
- }
+ }()
panicIfNotPrintable(s) // will panic if validations fails.
}