From 2eb68e94f7b834d401875a7fac2edf7da12be603 Mon Sep 17 00:00:00 2001 From: yuni Date: Thu, 13 Jun 2024 00:43:01 +0200 Subject: [PATCH] cleanup --- src/main.rs | 2 ++ src/var.rs | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 918fc51..297e3dc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -104,6 +104,8 @@ fn main() { env::set_var("WGPU_BACKEND", "gl"); } + dbg!(&prefs); + let mut app = App::new(); app.insert_resource(opt); diff --git a/src/var.rs b/src/var.rs index 81461c8..d7dee31 100644 --- a/src/var.rs +++ b/src/var.rs @@ -489,7 +489,6 @@ pub fn load_prefs() -> Preferences { println!("Loaded preferences from internal defaults"); } pref.source_file = path; - dbg!(&pref); return pref; } Err(error) => {