Hide internal Task constructors
This commit is contained in:
parent
2b19471d1c
commit
88611d7653
11 changed files with 140 additions and 136 deletions
|
|
@ -15,14 +15,13 @@ pub mod keyboard;
|
|||
pub mod overlay;
|
||||
pub mod program;
|
||||
pub mod system;
|
||||
pub mod task;
|
||||
pub mod user_interface;
|
||||
pub mod window;
|
||||
|
||||
#[cfg(feature = "multi-window")]
|
||||
pub mod multi_window;
|
||||
|
||||
mod task;
|
||||
|
||||
// We disable debug capabilities on release builds unless the `debug` feature
|
||||
// is explicitly enabled.
|
||||
#[cfg(feature = "debug")]
|
||||
|
|
@ -127,5 +126,5 @@ where
|
|||
/// This will normally close any application windows and
|
||||
/// terminate the runtime loop.
|
||||
pub fn exit<T>() -> Task<T> {
|
||||
Task::effect(Action::Exit)
|
||||
task::effect(Action::Exit)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue