Take Cow in Text::new
This commit is contained in:
parent
f15bc3ca34
commit
ce3b89639d
6 changed files with 26 additions and 22 deletions
|
|
@ -16,8 +16,8 @@ pub mod text {
|
|||
pub use iced_native::widget::text::{Appearance, StyleSheet};
|
||||
|
||||
/// A paragraph of text.
|
||||
pub type Text<Renderer = crate::Renderer> =
|
||||
iced_native::widget::Text<Renderer>;
|
||||
pub type Text<'a, Renderer = crate::Renderer> =
|
||||
iced_native::widget::Text<'a, Renderer>;
|
||||
}
|
||||
|
||||
pub mod button {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue