Fix warnings for a clean build
This commit is contained in:
parent
3b5ee59273
commit
6275c560e7
3 changed files with 15 additions and 16 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue