diff options
author | 2024-07-18 14:54:26 +0200 | |
---|---|---|
committer | 2024-07-18 14:54:26 +0200 | |
commit | 06dc507beba311f0862a0619285dc3d97348fd65 (patch) | |
tree | 771f698b5f2083992dcdad8378e70a184ba1c9da /widget | |
parent | 47b7a36f36b99e346909390621b04f6691ff46d4 (diff) | |
download | iced-06dc507beba311f0862a0619285dc3d97348fd65.tar.gz iced-06dc507beba311f0862a0619285dc3d97348fd65.tar.bz2 iced-06dc507beba311f0862a0619285dc3d97348fd65.zip |
Fix `markdown` import in `iced_widget`
Diffstat (limited to 'widget')
-rw-r--r-- | widget/src/helpers.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs index 43fee845..aa9394cb 100644 --- a/widget/src/helpers.rs +++ b/widget/src/helpers.rs @@ -7,7 +7,6 @@ use crate::core; use crate::core::widget::operation; use crate::core::{Element, Length, Pixels, Widget}; use crate::keyed; -use crate::markdown::{self}; use crate::overlay; use crate::pick_list::{self, PickList}; use crate::progress_bar::{self, ProgressBar}; @@ -705,7 +704,7 @@ pub fn span<'a, Font>( #[cfg(feature = "markdown")] #[doc(inline)] -pub use markdown::view as markdown; +pub use crate::markdown::view as markdown; /// Creates a new [`Checkbox`]. /// |