Navigation Menu

Skip to content

Commit

Permalink
chore: removes unneeded receiver in timeoutError
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchavezs committed Nov 15, 2021
1 parent 60c1574 commit 4588a60
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 4588a60

Please sign in to comment.