summaryrefslogtreecommitdiffstats
path: root/widget/src/container.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-22 02:24:06 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-22 02:24:06 +0200
commit4c883f12b4761c7e0b273d9a2380552336f61d96 (patch)
treee2ef505aaa87b84bad010a633a9a96891b50df7d /widget/src/container.rs
parent55764b923e69afa8a92b4a6cbd34ee9ddbf8a03d (diff)
downloadiced-4c883f12b4761c7e0b273d9a2380552336f61d96.tar.gz
iced-4c883f12b4761c7e0b273d9a2380552336f61d96.tar.bz2
iced-4c883f12b4761c7e0b273d9a2380552336f61d96.zip
Make `RichText` generic over data structure
... and decouple `markdown::parse` from theming
Diffstat (limited to 'widget/src/container.rs')
-rw-r--r--widget/src/container.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/widget/src/container.rs b/widget/src/container.rs
index 54043ad0..ba315741 100644
--- a/widget/src/container.rs
+++ b/widget/src/container.rs
@@ -184,7 +184,6 @@ where
}
/// Sets the style class of the [`Container`].
- #[cfg(feature = "advanced")]
#[must_use]
pub fn class(mut self, class: impl Into<Theme::Class<'a>>) -> Self {
self.class = class.into();