Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
mna authored Sep 23, 2023
1 parent 284cd52 commit 451466b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func RetryTemporaryErr() RetryFn {
// RetryTimeoutErr returns a RetryFn that retries if the Attempt's error
// is a timeout error. Before go 1.13, a timeout error is one that implements
// the Timeout() bool method. Most errors from the net package implement this.
// After go 1.13, a timeout error is one that implemts the net.Error interface
// After go 1.13, a timeout error is one that implements the net.Error interface
// which includes both Timeout() and Temporary() to make it less likely to
// falsely identify errors that occurred outside of the net package.
func RetryTimeoutErr() RetryFn {
Expand Down

0 comments on commit 451466b

Please sign in to comment.