1
0
mirror of https://github.com/golang/go synced 2024-11-22 12:24:47 -07:00
R=rsc
APPROVED=rsc
DELTA=1  (0 added, 0 deleted, 1 changed)
OCL=33209
CL=33227
This commit is contained in:
Kai Backman 2009-08-13 15:14:41 -07:00
parent 311c0b4807
commit 8149a8c666

View File

@ -184,7 +184,7 @@ func Exitf(format string, v ...) {
exit.Output(2, fmt.Sprintf(format, v)) exit.Output(2, fmt.Sprintf(format, v))
} }
// Crash is equivalent to Stderrf() followed by a call to panic(). // Crash is equivalent to Stderr() followed by a call to panic().
func Crash(v ...) { func Crash(v ...) {
crash.Output(2, fmt.Sprintln(v)) crash.Output(2, fmt.Sprintln(v))
} }