summaryrefslogtreecommitdiffstats
path: root/widget/src/markdown.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-22 02:30:12 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-08-22 02:30:12 +0200
commitbb6fa4292433c015cb5b69a2c4f7d7f0b92339c6 (patch)
treeb567debec519ecec3bcdd90d7caf71b532d8ab5b /widget/src/markdown.rs
parent4c883f12b4761c7e0b273d9a2380552336f61d96 (diff)
downloadiced-bb6fa4292433c015cb5b69a2c4f7d7f0b92339c6.tar.gz
iced-bb6fa4292433c015cb5b69a2c4f7d7f0b92339c6.tar.bz2
iced-bb6fa4292433c015cb5b69a2c4f7d7f0b92339c6.zip
Fix ambiguous `rich_text` link in `widget::markdown`
Diffstat (limited to 'widget/src/markdown.rs')
-rw-r--r--widget/src/markdown.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/markdown.rs b/widget/src/markdown.rs
index ef4da0df..fa4ee6bf 100644
--- a/widget/src/markdown.rs
+++ b/widget/src/markdown.rs
@@ -57,7 +57,7 @@ impl Text {
}
}
- /// Returns the [`rich_text`] spans ready to be used for the given style.
+ /// Returns the [`rich_text()`] spans ready to be used for the given style.
///
/// This method performs caching for you. It will only reallocate if the [`Style`]
/// provided changes.