From d1c58b7940de6e4baea4ac99b6433742962c11c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Sinan=20A=C4=9Facan?= Date: Tue, 27 Aug 2019 22:26:48 +0300 Subject: [PATCH] tokio: export RunError in tokio::runtime::current_thread (#1487) This type is used in return type of `Runtime::run`, but because the type was not exported it was opaque in the documentation of `Runtime`. --- tokio/src/runtime/current_thread/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/runtime/current_thread/mod.rs b/tokio/src/runtime/current_thread/mod.rs index d81fec94b..c4ed70c64 100644 --- a/tokio/src/runtime/current_thread/mod.rs +++ b/tokio/src/runtime/current_thread/mod.rs @@ -64,6 +64,6 @@ mod builder; mod runtime; pub use self::builder::Builder; -pub use self::runtime::{Handle, Runtime}; +pub use self::runtime::{Handle, Runtime, RunError}; pub use tokio_executor::current_thread::spawn; pub use tokio_executor::current_thread::TaskExecutor;