Add explicit 'static in todos for Rust 1.80
This commit is contained in:
parent
1713ac49f2
commit
9bc29e5347
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ enum Message {
|
|||
}
|
||||
|
||||
impl Todos {
|
||||
const ICON_FONT: &[u8] = include_bytes!("../fonts/icons.ttf");
|
||||
const ICON_FONT: &'static [u8] = include_bytes!("../fonts/icons.ttf");
|
||||
|
||||
fn new() -> (Self, Command<Message>) {
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue