From 00d2f12a2d9902f71720e2cf8bd209ada5b8b8de Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sun, 18 Oct 2026 03:24:55 +0200 Subject: [PATCH] desktoplog: drop an unused constructor --- apps/desktop/src-tauri/src/desktoplog.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/desktop/src-tauri/src/desktoplog.rs b/apps/desktop/src-tauri/src/desktoplog.rs index 5d95b6e4..c1435b9c 100644 --- a/apps/desktop/src-tauri/src/desktoplog.rs +++ b/apps/desktop/src-tauri/src/desktoplog.rs @@ -104,10 +104,6 @@ impl Log { log.line("shell", &format!("Strata desktop {} starting (pid {})", env!("CARGO_PKG_VERSION"), std::process::id())); log } - /// A log that writes nowhere (tests). - pub fn none() -> Log { - Log { file: Arc::new(Mutex::new(None)), path: None } - } pub fn line(&self, who: &str, text: &str) { if let Some(f) = self.file.lock().unwrap().as_mut() { let _ = writeln!(f, "[{who}] {text}");