remove stray code in Insert section

nishanths 2020-11-20 22:52:54 +05:30
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 */) s = append(s, 0 /* use the zero value of the element type */)
copy(s[i+1:], s[i:]) copy(s[i+1:], s[i:])
s[i] = x s[i] = x
// or more efficiently:
s = append[s[i+1:
``` ```
#### InsertVector #### InsertVector