1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:20:22 -07:00

spec: trivial syntax fix

R=golang-dev
CC=golang-dev
https://golang.org/cl/1982042
This commit is contained in:
Stephen Ma 2010-08-14 10:27:24 +10:00
parent b21611b963
commit 0d40e40f5e

View 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>