diff --git a/actix-rt/CHANGES.md b/actix-rt/CHANGES.md index 15052613..2e026425 100644 --- a/actix-rt/CHANGES.md +++ b/actix-rt/CHANGES.md @@ -1,6 +1,9 @@ # Changes ## Unreleased - 2021-xx-xx +* Expose JoinError from tokio. [#271] + +[#271]: https://github.com/actix/actix-net/pull/271 ## 2.0.0 - 2021-02-02 diff --git a/actix-rt/src/lib.rs b/actix-rt/src/lib.rs index 831958aa..a7e9f309 100644 --- a/actix-rt/src/lib.rs +++ b/actix-rt/src/lib.rs @@ -91,7 +91,7 @@ pub mod time { pub mod task { //! Task management (Tokio re-exports). - pub use tokio::task::{spawn_blocking, yield_now, JoinHandle}; + pub use tokio::task::{spawn_blocking, yield_now, JoinError, JoinHandle}; } /// Spawns a future on the current thread.