mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00:00
go spec: fix a few typos
The spec can now be parsed with an xml.Parser using the HTML settings. R=gri CC=golang-dev https://golang.org/cl/4155042
This commit is contained in:
parent
2a838d6424
commit
0122a667b6
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
< less
|
||||
<= 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 <= len(s) <= cap(s)
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in a new issue