From 9013ed9bd4ed91d496042726b331b5f417adb00b Mon Sep 17 00:00:00 2001 From: David Kellum Date: Wed, 6 Jun 2018 14:34:55 -0700 Subject: [PATCH] Fix description of BlockingError as io::Error (#384) --- tokio-fs/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-fs/src/lib.rs b/tokio-fs/src/lib.rs index 424886cc6..216e4a28d 100644 --- a/tokio-fs/src/lib.rs +++ b/tokio-fs/src/lib.rs @@ -59,6 +59,6 @@ where F: FnOnce() -> io::Result, } 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.") }