Fix description of BlockingError as io::Error (#384)

This commit is contained in:
David Kellum
2018-06-06 14:34:55 -07:00
committed by Carl Lerche
parent 06325fa63b
commit 9013ed9bd4
+1 -1
View File
@@ -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.")
}