Skip to content

Commit 13892cd

Browse files
committed
chore: rename the -> this anonymous func
1 parent 721fe10 commit 13892cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

textinput/textinput_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func ExampleValidateFunc() {
4848
creditCardNumber.CharLimit = 20
4949
creditCardNumber.Width = 30
5050
creditCardNumber.Prompt = ""
51-
// The anonymous function is a valid function for ValidateFunc.
51+
// This anonymous function is a valid function for ValidateFunc.
5252
creditCardNumber.Validate = func(s string) error {
5353
// Credit Card Number should a string less than 20 digits
5454
// It should include 16 integers and 3 spaces

0 commit comments

Comments
 (0)