Skip to content

Commit

Permalink
Fix span widget helper missing Link generic
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Jul 23, 2024
1 parent dcdf130 commit c47844c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widget/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c47844c

Please sign in to comment.