Remove executor::Null from the root public API
Using an `Application` with `executor::Null` does not make sense, as the whole purpose of an `Application` is to allow executing async actions. When async actions are not needed, `Sandbox` should be used instead.
This commit is contained in:
parent
17f0db57c3
commit
ae5a2502d6
3 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
//! Choose your preferred executor to power your application.
|
||||
pub use crate::runtime::{executor::Null, Executor};
|
||||
pub use crate::runtime::Executor;
|
||||
|
||||
pub use platform::Default;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue