Update to Rust 2024 and fix compiler errors
This commit is contained in:
parent
81ca3d2a22
commit
67e489e382
6 changed files with 13 additions and 13 deletions
|
|
@ -304,7 +304,7 @@ where
|
|||
let size = size.unwrap_or_else(|| renderer.default_size());
|
||||
let font = font.unwrap_or_else(|| renderer.default_font());
|
||||
|
||||
let State(ref mut paragraph) = state;
|
||||
let State(paragraph) = state;
|
||||
|
||||
paragraph.update(text::Text {
|
||||
content,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue