diff options
author | Peter Mundy <go.peter.90@gmail.com> | 2010-11-09 10:10:57 -0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2010-11-09 10:10:57 -0800 |
commit | 5928e1d4dc9ecca4a0dff78cdb3aa26193089c55 (patch) | |
tree | 122353b6538a88c266de6ef6e04340ced459e7f6 | |
parent | e9afb9d399125e3f8bcda135913905ff3a3a6b5e (diff) | |
download | go-5928e1d4dc9ecca4a0dff78cdb3aa26193089c55.tar.gz go-5928e1d4dc9ecca4a0dff78cdb3aa26193089c55.zip |
doc: fix go_spec spelling errors
R=gri
CC=golang-dev
https://golang.org/cl/2970042
-rw-r--r-- | doc/go_spec.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index d0db9d8b9e..6c9283dd33 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -956,7 +956,7 @@ struct { <p> A pointer type denotes the set of all pointers to variables of a given type, called the <i>base type</i> of the pointer. -The value of an unitialized pointer is <code>nil</code>. +The value of an uninitialized pointer is <code>nil</code>. </p> <pre class="ebnf"> @@ -973,7 +973,7 @@ BaseType = Type . <p> A function type denotes the set of all functions with the same parameter -and result types. The value of an unitialized variable of function type +and result types. The value of an uninitialized variable of function type is <code>nil</code>. </p> @@ -1022,7 +1022,7 @@ An interface type specifies a <a href="#Types">method set</a> called its <i>inte A variable of interface type can store a value of any type with a method set that is any superset of the interface. Such a type is said to <i>implement the interface</i>. -The value of an unitialized variable of interface type is <code>nil</code>. +The value of an uninitialized variable of interface type is <code>nil</code>. </p> <pre class="ebnf"> @@ -2929,7 +2929,7 @@ and string values. The result of a comparison is defined as follows: String values are compared byte-wise (lexically). </li> <li> - Boolean values are are equal if they are either both + Boolean values are equal if they are either both <code>true</code> or both <code>false</code>. </li> <li> @@ -4206,7 +4206,7 @@ func complex_f2() (re float, im float) { } </pre> </li> - <li>The expression list may be empty if the functions's result + <li>The expression list may be empty if the function's result type specifies names for its result parameters (ยง<a href="#Function_Types">Function Types</a>). The result parameters act as ordinary local variables and the function may assign values to them as necessary. |