1
0
mirror of https://github.com/golang/go synced 2024-09-23 19:10:13 -06:00
go/api/next/58565.txt
Alan Donovan 3ca52f4c31 slices: add in-place Reverse function
Fixes #58565

Change-Id: I583f8380c12386178fb18e553322bbb019d9fae0
Reviewed-on: https://go-review.googlesource.com/c/go/+/468855
Run-TryBot: Alan Donovan <adonovan@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Shay Nehmad <dude500@gmail.com>
2023-05-19 00:43:02 +00:00

2 lines
54 B
Plaintext

pkg slices, func Reverse[$0 interface{}]([]$0) #58565