From 43ab052efc61a46f78abb883f9fe8a0417e53c86 Mon Sep 17 00:00:00 2001 From: Stefan Logue Date: Thu, 29 Feb 2024 11:44:46 +0000 Subject: [PATCH] fix(ordered): correct function name in comment (#44) --- exp/ordered/ordered.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exp/ordered/ordered.go b/exp/ordered/ordered.go index 75ff8c19..c8353e88 100644 --- a/exp/ordered/ordered.go +++ b/exp/ordered/ordered.go @@ -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