Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
5928e1d4
Commit
5928e1d4
authored
Nov 09, 2010
by
Peter Mundy
Committed by
Robert Griesemer
Nov 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix go_spec spelling errors
R=gri CC=golang-dev
https://golang.org/cl/2970042
parent
e9afb9d3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
go_spec.html
doc/go_spec.html
+5
-5
No files found.
doc/go_spec.html
View file @
5928e1d4
...
...
@@ -956,7 +956,7 @@ struct {
<p>
A pointer type denotes the set of all pointers to variables of a given
type, called the
<i>
base type
</i>
of the pointer.
The value of an unitialized pointer is
<code>
nil
</code>
.
The value of an uni
ni
tialized pointer is
<code>
nil
</code>
.
</p>
<pre
class=
"ebnf"
>
...
...
@@ -973,7 +973,7 @@ BaseType = Type .
<p>
A function type denotes the set of all functions with the same parameter
and result types. The value of an unitialized variable of function type
and result types. The value of an uni
ni
tialized variable of function type
is
<code>
nil
</code>
.
</p>
...
...
@@ -1022,7 +1022,7 @@ An interface type specifies a <a href="#Types">method set</a> called its <i>inte
A variable of interface type can store a value of any type with a method set
that is any superset of the interface. Such a type is said to
<i>
implement the interface
</i>
.
The value of an unitialized variable of interface type is
<code>
nil
</code>
.
The value of an uni
ni
tialized variable of interface type is
<code>
nil
</code>
.
</p>
<pre
class=
"ebnf"
>
...
...
@@ -2929,7 +2929,7 @@ and string values. The result of a comparison is defined as follows:
String values are compared byte-wise (lexically).
</li>
<li>
Boolean values are
are
equal if they are either both
Boolean values are equal if they are either both
<code>
true
</code>
or both
<code>
false
</code>
.
</li>
<li>
...
...
@@ -4206,7 +4206,7 @@ func complex_f2() (re float, im float) {
}
</pre>
</li>
<li>
The expression list may be empty if the function
s
's result
<li>
The expression list may be empty if the function's result
type specifies names for its result parameters (§
<a
href=
"#Function_Types"
>
Function Types
</a>
).
The result parameters act as ordinary local variables
and the function may assign values to them as necessary.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment