tipo

Ian Lance Taylor 2021-05-09 20:16:42 -07:00
parent e73532c5a7
commit c1e98874f6

@ -19,7 +19,7 @@ b = append([]T(nil), a...)
b = append(a[:0:0], a...)
// This one-line implementation is equivalent to the above
// tw0-line make+copy implementation logically. But it is
// two-line make+copy implementation logically. But it is
// actually a bit slower (as of Go toolchain v1.16).
b = append(make([]T, 0, len(a)), a...)
```