go/src/slices
Ian Lance Taylor cde38c966d slices: document that BinarySearch[Func] return earliest position
Fixes #65446

Change-Id: I08dc512fb1f0101eb8aac8767cdf582360699559
Reviewed-on: https://go-review.googlesource.com/c/go/+/562345
Reviewed-by: Eli Bendersky <eliben@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-02-07 23:54:41 +00:00
..
example_test.go slices: use strings.EqualFold in ExampleCompactFunc 2023-09-22 21:08:15 +00:00
slices.go slices: improve Insert panic message for index out of range 2023-11-19 17:06:47 +00:00
slices_test.go slices: explicitly discard results of some functions 2024-01-05 21:35:07 +00:00
sort.go slices: document that BinarySearch[Func] return earliest position 2024-02-07 23:54:41 +00:00
sort_benchmark_test.go sort: forward fixed-type slice sorting to slices package 2023-07-21 13:00:18 +00:00
sort_test.go sort: forward fixed-type slice sorting to slices package 2023-07-21 13:00:18 +00:00
zsortanyfunc.go slices: add sorting and comparison functions 2023-05-23 23:33:29 +00:00
zsortordered.go slices: add sorting and comparison functions 2023-05-23 23:33:29 +00:00