mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-10-01 12:20:39 +00:00
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:
parent
5f74a99ea3
commit
d1c58b7940
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user