2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-01 22:16:40 +00:00

Update src/io/timeout.rs

Co-Authored-By: Florian Gilcher <flo@andersground.net>
This commit is contained in:
Yoshua Wuyts 2019-08-15 02:55:37 +02:00 committed by GitHub
parent d512e7c45c
commit 79bfd92154
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
},