mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
Fix description of BlockingError as io::Error (#384)
This commit is contained in:
committed by
Carl Lerche
parent
06325fa63b
commit
9013ed9bd4
+1
-1
@@ -59,6 +59,6 @@ where F: FnOnce() -> io::Result<T>,
|
||||
}
|
||||
|
||||
fn blocking_err() -> io::Error {
|
||||
io::Error::new(Other, "tokio-fs::File::open must be called \
|
||||
io::Error::new(Other, "`blocking` annotated I/O must be called \
|
||||
from the context of the Tokio runtime.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user