summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widget/src/helpers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/helpers.rs b/widget/src/helpers.rs
index 5b1cb5bc..dcc668ca 100644
--- a/widget/src/helpers.rs
+++ b/widget/src/helpers.rs
@@ -697,9 +697,9 @@ where
/// Creates a new [`Span`] of text with the provided content.
///
/// [`Span`]: text::Span
-pub fn span<'a, Font>(
+pub fn span<'a, Link, Font>(
text: impl text::IntoFragment<'a>,
-) -> text::Span<'a, Font> {
+) -> text::Span<'a, Link, Font> {
text::Span::new(text)
}