diff options
author | Ömer Sinan Ağacan <omeragacan@gmail.com> | 2019-08-27 22:26:48 +0300 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-08-27 12:26:48 -0700 |
commit | d1c58b7940de6e4baea4ac99b6433742962c11c1 (patch) | |
tree | d397404caa27661ab5778d523d636554767dfc25 /tokio | |
parent | 5f74a99ea39ff7747bb91499dcff78e93c2a0a48 (diff) |
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`.
Diffstat (limited to 'tokio')
-rw-r--r-- | tokio/src/runtime/current_thread/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/runtime/current_thread/mod.rs b/tokio/src/runtime/current_thread/mod.rs index d81fec94..c4ed70c6 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; |