Merge pull request #223 from jcchavezs/patch-1

chore: removes unneeded receiver in timeoutError
This commit is contained in:
Hamza El-Saawy
2022-07-14 09:49:26 -04:00
committed by GitHub
+3 -3
View File
@@ -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{}