mirror of
https://github.com/golang/go
synced 2024-11-21 18:14:42 -07:00
Use // to start comment instead of #.
Fixes #189. R=r CC=rsc https://golang.org/cl/155055
This commit is contained in:
parent
b18bee948e
commit
13ad5d40c4
@ -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>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user