mirror of
https://github.com/golang/go
synced 2024-11-21 23:54:40 -07:00
spec: fix a couple of tiny glitches
R=gri, rsc CC=golang-dev https://golang.org/cl/2078041
This commit is contained in:
parent
9bd6b0afa4
commit
68f1609eb4
@ -1,5 +1,5 @@
|
|||||||
<!-- title The Go Programming Language Specification -->
|
<!-- title The Go Programming Language Specification -->
|
||||||
<!-- subtitle Version of July 29, 2010 -->
|
<!-- subtitle Version of Sep 1, 2010 -->
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
TODO
|
TODO
|
||||||
@ -1328,9 +1328,9 @@ A value <code>x</code> is <i>assignable</i> to a variable of type <code>T</code>
|
|||||||
<code>x</code>'s type is identical to <code>T</code>.
|
<code>x</code>'s type is identical to <code>T</code>.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>x</code>'s type <code>V</code> or <code>T</code> have identical
|
<code>x</code>'s type <code>V</code> and <code>T</code> have identical
|
||||||
<a href="#Types">underlying types</a> and <code>V</code> or <code>T</code>
|
<a href="#Types">underlying types</a> and at least one of <code>V</code>
|
||||||
is not a named type.
|
or <code>T</code> is not a named type.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>T</code> is an interface type and
|
<code>T</code> is an interface type and
|
||||||
@ -1339,7 +1339,7 @@ is not a named type.
|
|||||||
<li>
|
<li>
|
||||||
<code>x</code> is a bidirectional channel value, <code>T</code> is a channel type,
|
<code>x</code> is a bidirectional channel value, <code>T</code> is a channel type,
|
||||||
<code>x</code>'s type <code>V</code> and <code>T</code> have identical element types,
|
<code>x</code>'s type <code>V</code> and <code>T</code> have identical element types,
|
||||||
and <code>V</code> or <code>T</code> is not a named type.
|
and at least one of <code>V</code> or <code>T</code> is not a named type.
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<code>x</code> is the predeclared identifier <code>nil</code> and <code>T</code>
|
<code>x</code> is the predeclared identifier <code>nil</code> and <code>T</code>
|
||||||
@ -1907,7 +1907,7 @@ argument. For instance, the method <code>Scale</code> has type
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
(p *Point, factor float)
|
func (p *Point, factor float)
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user