mirror of https://github.com/golang/go.git
remove a blan line
This commit is contained in:
parent
f31ca53baf
commit
d50cae90e1
|
|
@ -136,7 +136,6 @@ func Insert[S ~[]E, E any](s S, i int, v ...E) S {
|
|||
if m == 0 {
|
||||
return s
|
||||
}
|
||||
|
||||
n := len(s)
|
||||
if i == n {
|
||||
return append(s, v...)
|
||||
|
|
|
|||
Loading…
Reference in New Issue