chore(lint): remove custom min and max functions

These are now available as builtins.
This commit is contained in:
Andrey Nering
2025-03-20 10:42:52 -03:00
parent 76433f7143
commit fff86382cc
8 changed files with 9 additions and 102 deletions
-14
View File
@@ -758,20 +758,6 @@ func clamp(v, low, high int) int {
return min(high, max(low, v))
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}
// Deprecated.
// Deprecated: use cursor.Mode.