diff options
author | Rob Pike <r@golang.org> | 2010-09-01 10:40:50 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-01 10:40:50 +1000 |
commit | 68f1609eb43d61decf45a6da5fcea3659695f659 (patch) | |
tree | 6a60828761cc0141623a67306054defab94bf5fa | |
parent | 9bd6b0afa4b08e23796c98a305b3c391a2327caf (diff) | |
download | go-68f1609eb43d61decf45a6da5fcea3659695f659.tar.gz go-68f1609eb43d61decf45a6da5fcea3659695f659.zip |
spec: fix a couple of tiny glitches
R=gri, rsc
CC=golang-dev
https://golang.org/cl/2078041
-rw-r--r-- | doc/go_spec.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/go_spec.html b/doc/go_spec.html index d5a922b3aa..5843b75eab 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1,5 +1,5 @@ <!-- title The Go Programming Language Specification --> -<!-- subtitle Version of July 29, 2010 --> +<!-- subtitle Version of Sep 1, 2010 --> <!-- 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>. </li> <li> -<code>x</code>'s type <code>V</code> or <code>T</code> have identical -<a href="#Types">underlying types</a> and <code>V</code> or <code>T</code> -is not a named type. +<code>x</code>'s type <code>V</code> and <code>T</code> have identical +<a href="#Types">underlying types</a> and at least one of <code>V</code> +or <code>T</code> is not a named type. </li> <li> <code>T</code> is an interface type and @@ -1339,7 +1339,7 @@ is not a named type. <li> <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, -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> <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> <pre> -(p *Point, factor float) +func (p *Point, factor float) </pre> <p> |