From c6fe3acc41a3a9c7d07e3c291985867a704013b1 Mon Sep 17 00:00:00 2001 From: Muhammad Falak R Wani Date: Mon, 7 Aug 2023 18:52:08 +0530 Subject: [PATCH] sort: use the builtin min function --- src/sort/sort_test.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/sort/sort_test.go b/src/sort/sort_test.go index 62f51ba639..ccb89873af 100644 --- a/src/sort/sort_test.go +++ b/src/sort/sort_test.go @@ -415,13 +415,6 @@ func (d *testingData) Swap(i, j int) { d.data[i], d.data[j] = d.data[j], d.data[i] } -func min(a, b int) int { - if a < b { - return a - } - return b -} - func lg(n int) int { i := 0 for 1<