From 54fc7ef5adde6f37618312c4e85624ced6708ec1 Mon Sep 17 00:00:00 2001 From: Hong Ruiqi Date: Thu, 5 Apr 2012 22:37:07 +1000 Subject: [PATCH] [release-branch.go1] doc/go_spec: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ««« backport d10b521f63d1 doc/go_spec: fix typo R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5990043 »»» --- doc/go_spec.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index 576db6504a..babe5d7774 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -2659,7 +2659,7 @@ back to the calling function when the function returns.

-Calling a nil function value +Calling a nil function value causes a run-time panic.

@@ -3030,29 +3030,29 @@ These terms and the result of the comparisons are defined as follows:
  • Integer values are comparable and ordered, in the usual way.
  • - +
  • Floating point values are comparable and ordered, as defined by the IEEE-754 standard.
  • - +
  • Complex values are comparable. Two complex values u and v are equal if both real(u) == real(v) and imag(u) == imag(v).
  • - +
  • String values are comparable and ordered, lexically byte-wise.
  • - +
  • Pointer values are comparable. Two pointer values are equal if they point to the same variable or if both have value nil. Pointers to distinct zero-size variables may or may not be equal.
  • - +
  • Channel values are comparable. Two channel values are equal if they were created by the same call to make @@ -3065,7 +3065,7 @@ These terms and the result of the comparisons are defined as follows: Two interface values are equal if they have identical dynamic types and equal dynamic values or if both have value nil.
  • - +
  • A value x of non-interface type X and a value t of interface type T are comparable when values @@ -3080,7 +3080,7 @@ These terms and the result of the comparisons are defined as follows: Two struct values are equal if their corresponding non-blank fields are equal.
  • - +
  • Array values are comparable if values of the array element type are comparable. Two array values are equal if their corresponding elements are equal. @@ -5401,7 +5401,7 @@ type ArbitraryType int // shorthand for an arbitrary Go type; it is not a real type Pointer *ArbitraryType func Alignof(variable ArbitraryType) uintptr -func Offsetof(selector ArbitraryType) uinptr +func Offsetof(selector ArbitraryType) uintptr func Sizeof(variable ArbitraryType) uintptr