Skip to content

Commit

Permalink
Merge pull request #223 from jcchavezs/patch-1
Browse files Browse the repository at this point in the history
chore: removes unneeded receiver in timeoutError
  • Loading branch information
helsaawy authored Jul 14, 2022
2 parents 8fca759 + 4f8488c commit c62166d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions file.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ var (

type timeoutError struct{}

func (e *timeoutError) Error() string { return "i/o timeout" }
func (e *timeoutError) Timeout() bool { return true }
func (e *timeoutError) Temporary() bool { return true }
func (*timeoutError) Error() string { return "i/o timeout" }
func (*timeoutError) Timeout() bool { return true }
func (*timeoutError) Temporary() bool { return true }

type timeoutChan chan struct{}

Expand Down

0 comments on commit c62166d

Please sign in to comment.