Fix documentation of run function
This commit is contained in:
parent
54f44754eb
commit
8e1d0b51f1
1 changed files with 2 additions and 4 deletions
|
|
@ -340,10 +340,8 @@ pub type Element<
|
||||||
/// [`Application`]: crate::Application
|
/// [`Application`]: crate::Application
|
||||||
pub type Result = std::result::Result<(), Error>;
|
pub type Result = std::result::Result<(), Error>;
|
||||||
|
|
||||||
/// Runs a basic iced application with default [`Settings`] given
|
/// Runs a basic iced application with default [`Settings`] given its title,
|
||||||
/// - its window title,
|
/// update, and view logic.
|
||||||
/// - its update logic,
|
|
||||||
/// - and its view logic.
|
|
||||||
///
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
/// ```no_run
|
/// ```no_run
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue