Skip to content

Commit

Permalink
fix(ordered): correct function name in comment (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanlogue authored Feb 29, 2024
1 parent caaae93 commit 43ab052
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exp/ordered/ordered.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package ordered

import "cmp"

// Max returns the smaller of a and b.
// Min returns the smaller of a and b.
func Min[T cmp.Ordered](a, b T) T {
if a < b {
return a
Expand Down

0 comments on commit 43ab052

Please sign in to comment.