Commit c0bd4f33 authored by Robert Griesemer's avatar Robert Griesemer

spec: pick up a few corrections missed in prior commit

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/36471Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
parent 56c9b51b
<!--{ <!--{
"Title": "The Go Programming Language Specification", "Title": "The Go Programming Language Specification",
"Subtitle": "Version of February 3, 2017", "Subtitle": "Version of February 6, 2017",
"Path": "/ref/spec" "Path": "/ref/spec"
}--> }-->
...@@ -1862,7 +1862,7 @@ last non-empty expression list. ...@@ -1862,7 +1862,7 @@ last non-empty expression list.
<p> <p>
A type declaration binds an identifier, the <i>type name</i>, to a <a href="#Types">type</a>. 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> <p>
<pre class="ebnf"> <pre class="ebnf">
...@@ -1896,9 +1896,9 @@ type ( ...@@ -1896,9 +1896,9 @@ type (
<h4 id="Type_definitions">Type definitions</h4> <h4 id="Type_definitions">Type definitions</h4>
<p> <p>
A type definition binds an identifier to a newly created type A type definition creates a new, distinct type with the same
with the same <a href="#Types">underlying type</a> and <a href="#Types">underlying type</a> and operations as the given type,
operations as the given type. and binds an identifier to it.
</p> </p>
<pre class="ebnf"> <pre class="ebnf">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment