summaryrefslogtreecommitdiffstats
path: root/core/src/text.rs
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/text.rs')
-rw-r--r--core/src/text.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/text.rs b/core/src/text.rs
index f5e9abc4..0e3617b1 100644
--- a/core/src/text.rs
+++ b/core/src/text.rs
@@ -215,7 +215,7 @@ pub trait Paragraph: Default {
/// Returns the [`LineHeight`] of the [`Paragraph`].
fn line_height(&self) -> LineHeight;
- /// Returns the [`Font`] of the [`Paragraph`].
+ /// Returns the [`Self::Font`] of the [`Paragraph`].
fn font(&self) -> Self::Font;
/// Returns the [`Shaping`] strategy of the [`Paragraph`].