Clarify chain nature of run function
This commit is contained in:
parent
8e1d0b51f1
commit
a034e40f7c
1 changed files with 4 additions and 0 deletions
|
|
@ -343,6 +343,10 @@ pub type Result = std::result::Result<(), Error>;
|
|||
/// Runs a basic iced application with default [`Settings`] given its title,
|
||||
/// update, and view logic.
|
||||
///
|
||||
/// This is equivalent to chaining [`program`] with [`Program::run`].
|
||||
///
|
||||
/// [`Program::run`]: application::Program::run
|
||||
///
|
||||
/// # Example
|
||||
/// ```no_run
|
||||
/// use iced::widget::{button, column, text, Column};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue