Skip to content

Commit 2c27bfd

Browse files
committed
chore: fixed linting errors
1 parent 4a7fb7c commit 2c27bfd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

assert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ func Number(a any) bool {
5151
}
5252

5353
// Range returns true if the value is within the range.
54-
func Range[T constraints.Number](a, min, max T) bool {
55-
return a >= min && a <= max
54+
func Range[T constraints.Number](a, minimum, maximum T) bool {
55+
return a >= minimum && a <= maximum
5656
}
5757

5858
// Zero returns true if the value is the zero value.

0 commit comments

Comments
 (0)