Skip to content

Commit 7c65086

Browse files
authored
Fix function name in comment
1 parent 81ebe1f commit 7c65086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func WithValidateNotEmpty() Option {
143143
return WithValidateFunc(NotEmpty())
144144
}
145145

146-
// WithValidateMinLen adds a custom validation function to a prompt that
146+
// WithValidateMinLength adds a custom validation function to a prompt that
147147
// checks the input string meets the minimum length requirement.
148148
func WithValidateMinLength(minLength int) Option {
149149
return WithValidateFunc(MinLength(minLength))

0 commit comments

Comments
 (0)