Skip to content

Commit df57d9b

Browse files
authored
feat: reexport async_task::FallibleTask
Motivation: FallibleTask is part of the public interface of this crate, in that Task::fallible returns FallibleTask. However, in order to name that type, users need to add a direct dependency on async_task and ensure the crates versions are compatible. Reexporting allows crate users to name the type directly.
1 parent 649bdfd commit df57d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use futures_lite::{future, prelude::*};
5252
use slab::Slab;
5353

5454
#[doc(no_inline)]
55-
pub use async_task::Task;
55+
pub use async_task::{FallibleTask, Task};
5656

5757
/// An async executor.
5858
///

0 commit comments

Comments
 (0)