diff --git a/examples/todos/src/main.rs b/examples/todos/src/main.rs index f4b8d786c2..1d4aa8a4df 100644 --- a/examples/todos/src/main.rs +++ b/examples/todos/src/main.rs @@ -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) { (