Skip to content

Commit

Permalink
fix: remove unused max function
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Nov 5, 2024
1 parent 2142ea6 commit a78f2a6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions utils.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
package tea

func max(a, b int) int {
if a > b {
return a
}
return b
}

func clamp(x, min, max int) int {
if x < min {
return min
Expand Down

0 comments on commit a78f2a6

Please # to comment.