Skip to content

Commit 37e616c

Browse files
committed
🧹 remove those unnecessary types
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
1 parent 7f09756 commit 37e616c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llx/builtin_ip.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func ipVersionPrefix(ip net.IP, mask int) (uint8, int) {
6565
return version, mask
6666
}
6767

68-
func int2ip[T int | int64 | int32 | uint | uint64 | uint32](i T) net.IP {
68+
func int2ip[T int | int64](i T) net.IP {
6969
cur := i
7070

7171
d := byte(cur & 0xff)

0 commit comments

Comments
 (0)