From cbeda38f0d49f184ff26b7f77a4246b33ea3bd90 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 20 Jun 2024 18:50:03 +0200 Subject: Inline documentation for `application` and `daemon` functions --- src/lib.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 957c7ecc..bc3fe6ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -306,8 +306,8 @@ pub mod widget { mod runtime {} } -pub use application::{application, Application}; -pub use daemon::{daemon, Daemon}; +pub use application::Application; +pub use daemon::Daemon; pub use error::Error; pub use event::Event; pub use executor::Executor; @@ -316,6 +316,11 @@ pub use renderer::Renderer; pub use settings::Settings; pub use subscription::Subscription; +#[doc(inline)] +pub use application::application; +#[doc(inline)] +pub use daemon::daemon; + /// A generic widget. /// /// This is an alias of an `iced_native` element with a default `Renderer`. -- cgit