Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
9a445788
Commit
9a445788
authored
Mar 09, 2010
by
Andrey Mirtchovski
Committed by
Rob Pike
Mar 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing ';' renders the code snippet incorrectly on website
R=golang-dev, r CC=golang-dev
https://golang.org/cl/367041
parent
9280b746
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/go_for_cpp_programmers.html
doc/go_for_cpp_programmers.html
+1
-1
No files found.
doc/go_for_cpp_programmers.html
View file @
9a445788
...
...
@@ -374,7 +374,7 @@ capacity of the new slice is simply the capacity of <code>a</code> minus
<code>
I
</code>
. The capacity
of an array is the length of the array. You may also assign an array pointer
to a variable of slice type; given
<code>
var s []int; var a[10] int
</code>
,
the assignment
<code>
s =
&
ampa
</code>
is equivalent to
the assignment
<code>
s =
&
;
a
</code>
is equivalent to
<code>
s = a[0:len(a)]
</code>
.
<p>
...
...
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