Skip to content

Commit a8c772e

Browse files
committed
Fix mssing Link generic in From impl for Span
1 parent c47844c commit a8c772e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/text.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ impl<'a, Link, Font> Span<'a, Link, Font> {
313313
}
314314
}
315315

316-
impl<'a, Font> From<&'a str> for Span<'a, Font> {
316+
impl<'a, Link, Font> From<&'a str> for Span<'a, Link, Font> {
317317
fn from(value: &'a str) -> Self {
318318
Span::new(value)
319319
}

0 commit comments

Comments
 (0)