Update src/io/timeout.rs

Co-Authored-By: Florian Gilcher <flo@andersground.net>
pull/19/head^2
Yoshua Wuyts 5 years ago committed by GitHub
parent d512e7c45c
commit 79bfd92154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -61,7 +61,7 @@ where
Poll::Pending => match self.delay().poll(cx) {
Poll::Ready(_) => Poll::Ready(Err(io::Error::new(
io::ErrorKind::TimedOut,
"future has timed out",
"IO operation has timed out",
))),
Poll::Pending => Poll::Pending,
},

Loading…
Cancel
Save