]> Cypherpunks repositories - gostls13.git/commitdiff
spec: trivial syntax fix
authorStephen Ma <stephenm@golang.org>
Sat, 14 Aug 2010 00:27:24 +0000 (10:27 +1000)
committerStephen Ma <stephenm@golang.org>
Sat, 14 Aug 2010 00:27:24 +0000 (10:27 +1000)
R=golang-dev
CC=golang-dev
https://golang.org/cl/1982042

doc/go_spec.html

index 3d4123c4386354bb8f4dcb3c99aabe2388027fa8..53b63fa4ded56a50b5d968f4013fcf9d906fe0ac 100644 (file)
@@ -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.
 }
 </pre>