diff options
author | Daniel Milde <daniel@milde.cz> | 2024-04-29 12:41:21 +0200 |
---|---|---|
committer | Daniel Milde <daniel@milde.cz> | 2024-04-29 12:41:21 +0200 |
commit | 6371855c5d6e5bcfae7a79c85e70b695e0cdb219 (patch) | |
tree | b43bbe3ee610a069e10e9efb7613026179b083be /stdout | |
parent | 2e5825a380d31712a2b018d541bc2ef326024345 (diff) |
refactor: combine param types
Diffstat (limited to 'stdout')
-rw-r--r-- | stdout/stdout.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdout/stdout.go b/stdout/stdout.go index 5b1ecba..669fc69 100644 --- a/stdout/stdout.go +++ b/stdout/stdout.go @@ -440,7 +440,7 @@ func maxLength(list []*device.Device, keyGetter func(*device.Device) string) int return maxLen } -func maxInt(x int, y int) int { +func maxInt(x, y int) int { if x > y { return x } |