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`.
This commit is contained in:
Ömer Sinan Ağacan 2019-08-27 22:26:48 +03:00 committed by Carl Lerche
parent 5f74a99ea3
commit d1c58b7940

View File

@ -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;