summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.