From 9a358df947580c585f5596d89a2ab2be22fea018 Mon Sep 17 00:00:00 2001 From: "Charles L. Dorian" Date: Thu, 8 Dec 2011 22:27:14 -0500 Subject: [PATCH] spec: fix typo in example comment R=rsc, golang-dev CC=golang-dev https://golang.org/cl/5475046 --- 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 cd506308cee..673b36d3e01 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -3458,7 +3458,7 @@ an untyped complex constant.

-const ic = complex(0, c)   // iΓ == 3.75i (untyped complex constant)
+const ic = complex(0, c)   // ic == 3.75i (untyped complex constant)
 const iΘ = complex(0, Θ)   // iΘ == 1.5i  (type complex128)
 
@@ -5200,7 +5200,7 @@ Execution errors such as attempting to index an array out of bounds trigger a run-time panic equivalent to a call of the built-in function panic with a value of the implementation-defined interface type runtime.Error. -That type satisfies the predeclared interface type +That type satisfies the predeclared interface type error. The exact error values that represent distinct run-time error conditions are unspecified.