Add explicit 'static in todos for Rust 1.80

This commit is contained in:
Héctor Ramón Jiménez 2024-12-10 05:00:33 +01:00
parent 1713ac49f2
commit 9bc29e5347
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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>) {
(