Commit 27f1f14
all: use the built-in min/max function
Starting from Go 1.21, the min/max functions are built-in.
Therefore, we can remove the custom functions with the same name.
Change-Id: I8b7446923f4804bfb2693b1f9c75463844215921
Reviewed-on: https://go-review.googlesource.com/c/exp/+/707495
Auto-Submit: Sean Liao <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Sean Liao <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>
Reviewed-by: Junyang Shao <[email protected]>1 parent df92998 commit 27f1f14
2 files changed
+0
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 31 | | |
39 | 32 | | |
40 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| |||
0 commit comments