Improve documentation of Application::run
This commit is contained in:
parent
0648d9d234
commit
2f50d11461
1 changed files with 3 additions and 2 deletions
|
|
@ -188,9 +188,10 @@ pub trait Application: Sized {
|
|||
/// Runs the [`Application`].
|
||||
///
|
||||
/// On native platforms, this method will take control of the current thread
|
||||
/// until the event loop of the main window exits.
|
||||
/// until the [`Application`] exits.
|
||||
///
|
||||
/// Does never return on the web platform
|
||||
/// On the web platform, this method __will NOT return__ unless there is an
|
||||
/// [`Error`] during startup.
|
||||
///
|
||||
/// [`Error`]: crate::Error
|
||||
fn run(settings: Settings<Self::Flags>) -> crate::Result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue