mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
I think there should be a colon ' : '
parent
5e597f4936
commit
f6920aaaf8
@ -9,7 +9,7 @@ a = append(a, b...)
|
|||||||
|
|
||||||
#### Copy
|
#### Copy
|
||||||
```go
|
```go
|
||||||
b = make([]T, len(a))
|
b := make([]T, len(a))
|
||||||
copy(b, a)
|
copy(b, a)
|
||||||
|
|
||||||
// These two are often a little slower than the above one,
|
// These two are often a little slower than the above one,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user