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:
parent
d512e7c45c
commit
79bfd92154
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue