mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
spec: trivial syntax fix
R=golang-dev CC=golang-dev https://golang.org/cl/1982042
This commit is contained in:
parent
b21611b963
commit
0d40e40f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue