Rename text::IntoContent to IntoFragment
This commit is contained in:
parent
b8d5df2817
commit
34f799aa3d
2 changed files with 41 additions and 41 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue