mirror of
https://github.com/golang/go.git
synced 2024-11-22 05:19:03 +00:00
remove stray code in Insert section
parent
8bacf4193c
commit
2df8a1b381
@ -88,8 +88,6 @@ a = append(a[:i], append([]T{x}, a[i:]...)...)
|
||||
s = append(s, 0 /* use the zero value of the element type */)
|
||||
copy(s[i+1:], s[i:])
|
||||
s[i] = x
|
||||
// or more efficiently:
|
||||
s = append[s[i+1:
|
||||
```
|
||||
|
||||
#### InsertVector
|
||||
|
Loading…
Reference in New Issue
Block a user