Skip to content

Commit

Permalink
chore: removes unneeded receiver in timeoutError
Browse files Browse the repository at this point in the history
Signed-off-by: José Carlos Chávez <jcchavezs@gmail.com>
  • Loading branch information
jcchavezs committed Jul 14, 2022
1 parent 60c1574 commit 4f8488c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions file.go
Expand Up @@ -43,9 +43,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 4f8488c

Please sign in to comment.