From 7fc4e3785350b0d53112904c58b4384d65bce957 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Tue, 1 Feb 2011 12:51:10 -0800 Subject: [PATCH] go spec: s/log.Crash/log.Panic/ There is no log.Crash. R=r, rsc CC=golang-dev https://golang.org/cl/4058048 --- doc/go_spec.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 718a724e33e..4e5d9c639bc 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2588,7 +2588,7 @@ func Join(s, t string) string { } if Join(Split(value, len(value)/2)) != value { - log.Crash("test fails") + log.Panic("test fails") } @@ -3503,7 +3503,7 @@ Label = identifier .
-Error: log.Crash("error encountered")
+Error: log.Panic("error encountered")