Fix clippy::default_trait_access

This commit is contained in:
Héctor Ramón Jiménez 2023-09-20 04:51:08 +02:00
parent 6c386e90a1
commit 42ed90bc6f
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
19 changed files with 30 additions and 28 deletions

View file

@ -76,7 +76,7 @@ where
text_line_height: text::LineHeight::default(),
text_shaping: text::Shaping::Basic,
font: None,
handle: Default::default(),
handle: Handle::default(),
style: Default::default(),
}
}

View file

@ -46,7 +46,7 @@ where
id: None,
width: Length::Shrink,
height: Length::Shrink,
direction: Default::default(),
direction: Direction::default(),
content: content.into(),
on_scroll: None,
style: Default::default(),

View file

@ -286,7 +286,7 @@ where
style,
label_layout,
tree.state.downcast_ref(),
Default::default(),
crate::text::Appearance::default(),
);
}