diff options
author | 2020-05-28 02:04:31 +0200 | |
---|---|---|
committer | 2020-05-28 02:04:31 +0200 | |
commit | 508128436c5da88d4b4f384a9fe73288320eb9ec (patch) | |
tree | aec7f254f73437bd074b5bbc7667df904d59cefd /native/src/program.rs | |
parent | b9d42a45a8ce491e5fa21a86db0799bcd731d0dd (diff) | |
download | iced-508128436c5da88d4b4f384a9fe73288320eb9ec.tar.gz iced-508128436c5da88d4b4f384a9fe73288320eb9ec.tar.bz2 iced-508128436c5da88d4b4f384a9fe73288320eb9ec.zip |
Write documentation for new `iced_native` API
Diffstat (limited to '')
-rw-r--r-- | native/src/program.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/native/src/program.rs b/native/src/program.rs index 2652dee9..a28ff2a3 100644 --- a/native/src/program.rs +++ b/native/src/program.rs @@ -14,7 +14,7 @@ pub trait Program: Sized { /// The type of __messages__ your [`Program`] will produce. /// - /// [`Application`]: trait.Program.html + /// [`Program`]: trait.Program.html type Message: std::fmt::Debug + Send; /// Handles a __message__ and updates the state of the [`Program`]. @@ -34,6 +34,6 @@ pub trait Program: Sized { /// /// These widgets can produce __messages__ based on user interaction. /// - /// [`Program`]: trait.Application.html + /// [`Program`]: trait.Program.html fn view(&mut self) -> Element<'_, Self::Message, Self::Renderer>; } |