1
0
mirror of https://github.com/golang/go synced 2024-11-22 00:24:41 -07:00

Use // to start comment instead of #.

Fixes #189.

R=r
CC=rsc
https://golang.org/cl/155055
This commit is contained in:
Robert Griesemer 2009-11-15 11:33:20 -08:00
parent b18bee948e
commit 13ad5d40c4

View File

@ -4190,10 +4190,10 @@ buffered channels:
</p>
<pre>
s := make([]int, 10, 100); # slice with len(s) == 10, cap(s) == 100
s := make([]int, 10); # slice with len(s) == cap(s) == 10
c := make(chan int, 10); # channel with a buffer size of 10
m := make(map[string] int, 100); # map with initial space for 100 elements
s := make([]int, 10, 100); // slice with len(s) == 10, cap(s) == 100
s := make([]int, 10); // slice with len(s) == cap(s) == 10
c := make(chan int, 10); // channel with a buffer size of 10
m := make(map[string] int, 100); // map with initial space for 100 elements
</pre>