Rename text::IntoContent to IntoFragment

This commit is contained in:
Héctor Ramón Jiménez 2024-04-01 21:47:55 +02:00
parent b8d5df2817
commit 34f799aa3d
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 41 additions and 41 deletions

View file

@ -145,7 +145,7 @@ where
///
/// [`Text`]: core::widget::Text
pub fn text<'a, Theme, Renderer>(
text: impl text::IntoContent<'a>,
text: impl text::IntoFragment<'a>,
) -> Text<'a, Theme, Renderer>
where
Theme: text::Catalog + 'a,