]> Cypherpunks repositories - gostls13.git/commitdiff
go spec: fix a few typos
authorAnthony Martin <ality@pbrane.org>
Tue, 8 Feb 2011 22:51:15 +0000 (14:51 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 8 Feb 2011 22:51:15 +0000 (14:51 -0800)
The spec can now be parsed with an
xml.Parser using the HTML settings.

R=gri
CC=golang-dev
https://golang.org/cl/4155042

doc/go_spec.html

index 96d85a49a7ab05d98d8bd632ffc42f38e17841d6..a95ed704a03bb407503b9bef9a1d38a49def188a 100644 (file)
@@ -2897,8 +2897,8 @@ Comparison operators compare two operands and yield a value of type <code>bool</
 <pre class="grammar">
 ==    equal
 !=    not equal
-<     less
-<=    less or equal
+&lt;     less
+&lt;=    less or equal
 >     greater
 >=    greater or equal
 </pre>
@@ -4012,7 +4012,7 @@ the channel until the channel is closed; it does not produce the zero value sent
 before the channel is closed
 (ยง<a href="#Close_and_closed"><code>close</code> and <code>closed</code></a>).
 </li>
-</ol
+</ol>
 
 <p>
 The iteration values are assigned to the respective
@@ -4444,7 +4444,7 @@ At any time the following relationship holds:
 </p>
 
 <pre>
-0 <= len(s) <= cap(s)
+0 &lt;= len(s) &lt;= cap(s)
 </pre>
 
 <p>