aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/smallest.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/smallest.go')
-rw-r--r--test/typeparam/smallest.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/typeparam/smallest.go b/test/typeparam/smallest.go
index 3fead6a067..af1d72d899 100644
--- a/test/typeparam/smallest.go
+++ b/test/typeparam/smallest.go
@@ -11,10 +11,10 @@ import (
)
type Ordered interface {
- ~int | ~int8 | ~int16 | ~int32 | ~int64 |
- ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
- ~float32 | ~float64 |
- ~string
+ ~int | ~int8 | ~int16 | ~int32 | ~int64 |
+ ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~uintptr |
+ ~float32 | ~float64 |
+ ~string
}
func Smallest[T Ordered](s []T) T {