From 9636684056c4fa6ba1a79ee1883aa245899e14d4 Mon Sep 17 00:00:00 2001 From: nils <48135649+Nilstrieb@users.noreply.github.com> Date: Tue, 18 Apr 2023 12:08:26 +0200 Subject: [PATCH] more --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 96dfe51..fef60f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,13 +11,13 @@ pub(crate) struct App { pub(crate) scale: u8, } impl App { - pub(crate) fn new() -> anyhow::Result { + pub(crate) fn new() -> Self { loop {} } } fn main() { - let mut app = App::new().unwrap(); + let mut app = App::new(); app.sf_egui .do_frame(|ctx| { do_debug_ui(ctx, &mut app.game, &mut app.scale);