fix: suggestions

This commit is contained in:
Eduardo Flores 2024-11-09 17:34:02 +01:00
parent 8c425cc6d4
commit ed5fe4bccc
4 changed files with 3 additions and 5 deletions

View file

@ -8,7 +8,6 @@ use {
std::collections::BTreeMap,
};
#[cfg(feature = "desktop")]
#[derive(Debug, Default, Clone, derive_setters::Setters)]
#[setters(prefix = "set_", into, strip_option)]
/// Information about the application.
@ -126,7 +125,6 @@ impl About {
}
}
#[cfg(feature = "desktop")]
/// Constructs the widget for the about section.
pub fn about<'a, Message: Clone + 'static>(
about: &'a About,

View file

@ -370,4 +370,4 @@ pub use iced::widget::markdown;
pub mod about;
#[cfg(feature = "desktop")]
#[doc(inline)]
pub use about::{about, About};
pub use about::about;