Fix warnings for a clean build

This commit is contained in:
Nathan Sobo 2023-09-01 10:08:41 -06:00
parent 3b5ee59273
commit 6275c560e7
3 changed files with 15 additions and 16 deletions

View file

@ -36,7 +36,7 @@ impl<V: 'static> Element<V> for Text {
let layout_id = cx.add_measured_layout_node(Default::default(), {
let paint_state = paint_state.clone();
move |params| {
move |_params| {
let line_layout = fonts.layout_line(
text.as_ref(),
text_style.font_size,