Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Integration: format

aiongg1f9070310431
diff --git a/apps/designcraft/src/profile.rs b/apps/designcraft/src/profile.rs
index 326b43813..7c3144505 100644
--- a/apps/designcraft/src/profile.rs
+++ b/apps/designcraft/src/profile.rs
@@ -53,8 +53,7 @@ fn executable_dir() -> Option<PathBuf> {
}
pub fn recovery_dir() -> Option<PathBuf> {
- recovery_dir_with(root_with(|key| std::env::var_os(key), executable_dir().as_deref()), designcraft_engine::recovery::default_dir)
- .map(own_run)
+ recovery_dir_with(root_with(|key| std::env::var_os(key), executable_dir().as_deref()), designcraft_engine::recovery::default_dir).map(own_run)
}
/// This run's folder in the recovery folder `root`. A second running DesignCraft has its own, so