Skip to content

Commit

Permalink
chore: rename the -> this anonymous func
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Jan 24, 2025
1 parent 721fe10 commit 13892cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textinput/textinput_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func ExampleValidateFunc() {
creditCardNumber.CharLimit = 20
creditCardNumber.Width = 30
creditCardNumber.Prompt = ""
// The anonymous function is a valid function for ValidateFunc.
// This anonymous function is a valid function for ValidateFunc.
creditCardNumber.Validate = func(s string) error {
// Credit Card Number should a string less than 20 digits
// It should include 16 integers and 3 spaces
Expand Down

0 comments on commit 13892cd

Please sign in to comment.