mirror of
https://github.com/charmbracelet/gum.git
synced 2024-08-17 02:00:46 +03:00
lint: fix lint error unparam on clamp
This commit is contained in:
parent
c9fe558a44
commit
808f879996
@ -177,6 +177,7 @@ func matchAll(options []string) []fuzzy.Match {
|
||||
return matches
|
||||
}
|
||||
|
||||
//nolint:unparam
|
||||
func clamp(min, max, val int) int {
|
||||
if val < min {
|
||||
return min
|
||||
|
Loading…
Reference in New Issue
Block a user