diff options
author | Jes Cok <xigua67damn@gmail.com> | 2024-03-15 13:47:53 +0800 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2024-03-19 21:38:37 +0000 |
commit | f94d82b2c03c756f1d8893dc0282e9608e7d32a1 (patch) | |
tree | 62a0bc5ff7c55087f8cecea9d730bb418b1cb58a /api | |
parent | d2eb72fcff90d1c01fb2336a4c6f0f7fd7e01cbc (diff) | |
download | go-f94d82b2c03c756f1d8893dc0282e9608e7d32a1.tar.gz go-f94d82b2c03c756f1d8893dc0282e9608e7d32a1.zip |
slices: add func Repeat
Fixes #65238
Change-Id: I32ae4d922788cc6fbbe80f5b558a075951e3c892
Reviewed-on: https://go-review.googlesource.com/c/go/+/571895
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/next/65238.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/next/65238.txt b/api/next/65238.txt new file mode 100644 index 0000000000..e04939e859 --- /dev/null +++ b/api/next/65238.txt @@ -0,0 +1 @@ +pkg slices, func Repeat[$0 interface{ ~[]$1 }, $1 interface{}]($0, int) $0 #65238 |