Skip to content

Commit 5567bc7

Browse files
committed
fix WithMaxTries comment; closes #161
1 parent b7359dc commit 5567bc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

retry.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func WithNotify(n Notify) RetryOption {
4747
}
4848
}
4949

50-
// WithMaxTries limits the number of retry attempts.
50+
// WithMaxTries limits the number of all attempts.
5151
func WithMaxTries(n uint) RetryOption {
5252
return func(args *retryOptions) {
5353
args.MaxTries = n

0 commit comments

Comments
 (0)