]> Cypherpunks repositories - gostls13.git/commitdiff
spec: pick up a few corrections missed in prior commit
authorRobert Griesemer <gri@golang.org>
Mon, 6 Feb 2017 23:57:00 +0000 (15:57 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 7 Feb 2017 00:03:00 +0000 (00:03 +0000)
This CL picks up a couple of minor fixes that were present
in https://go-review.googlesource.com/#/c/36213/6..5 but
accidentally got dropped in https://go-review.googlesource.com/#/c/36213/
because I submitted from the wrong client.

Change-Id: I3ad0d20457152ea9a116cbb65a23eb0dc3a8525e
Reviewed-on: https://go-review.googlesource.com/36471
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
doc/go_spec.html

index 7f25fff137584d195b6dd2abd22f1c876153f199..dfa4222f6ee563f78014ad24af006bb9a83d52a6 100644 (file)
@@ -1,6 +1,6 @@
 <!--{
        "Title": "The Go Programming Language Specification",
-       "Subtitle": "Version of February 3, 2017",
+       "Subtitle": "Version of February 6, 2017",
        "Path": "/ref/spec"
 }-->
 
@@ -1862,7 +1862,7 @@ last non-empty expression list.
 
 <p>
 A type declaration binds an identifier, the <i>type name</i>, to a <a href="#Types">type</a>.
-Type declarations come in two forms: Alias declarations and type definitions.
+Type declarations come in two forms: alias declarations and type definitions.
 <p>
 
 <pre class="ebnf">
@@ -1896,9 +1896,9 @@ type (
 <h4 id="Type_definitions">Type definitions</h4>
 
 <p>
-A type definition binds an identifier to a newly created type
-with the same <a href="#Types">underlying type</a> and
-operations as the given type.
+A type definition creates a new, distinct type with the same
+<a href="#Types">underlying type</a> and operations as the given type,
+and binds an identifier to it.
 </p>
 
 <pre class="ebnf">