_content/blog/generic-slice-functions.md: fix package name

Change-Id: If55ced63c7cd5becc2dbd1e2ce35af0d5e29abe4
GitHub-Last-Rev: ba9b266857
GitHub-Pull-Request: golang/website#295
Reviewed-on: https://go-review.googlesource.com/c/website/+/601515
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
Will Faught 2024-07-26 23:31:38 +00:00 коммит произвёл Gopher Robot
Родитель 89283d8aed
Коммит a016d21030
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -54,7 +54,7 @@ Consider the task of deleting a portion of a slice. Prior to generics, the stand
s = append(s[:2], s[5:]...)
```
The syntax was complex and error-prone, involving subslices and a variadic parameter. We added [slice.Delete](/pkg/slices#Delete) to make it easier to delete elements:
The syntax was complex and error-prone, involving subslices and a variadic parameter. We added [slices.Delete](/pkg/slices#Delete) to make it easier to delete elements:
```
func Delete[S ~[]E, E any](s S, i, j int) S {