From db3101361bc5f3b05bf475c611ba5724afd548ff Mon Sep 17 00:00:00 2001 From: Amshith Nair Date: Sat, 21 Mar 2026 20:55:37 +0530 Subject: [PATCH] docs(mathx): add godoc comment to Numerical type constraint (#5470) --- core/mathx/range.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/mathx/range.go b/core/mathx/range.go index 17e63fd5f..8b2574c51 100644 --- a/core/mathx/range.go +++ b/core/mathx/range.go @@ -1,5 +1,6 @@ package mathx +// Numerical is a constraint that permits any numeric type. type Numerical interface { ~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 |