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.") }