From f5ac96f722384f30c95f602a4c345b0a504d04a1 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Thu, 12 Aug 2021 18:54:38 -0400 Subject: [PATCH] cargo fmt --- src/main.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 5c87b2a..ae7cecd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -127,7 +127,10 @@ fn main() { let mut manifest: accountmanager::Manifest; if !path.exists() { error!("Did not find manifest in {}", mafiles_dir); - print!("Would you like to create a manifest in {} ? [Yn] ", mafiles_dir); + print!( + "Would you like to create a manifest in {} ? [Yn] ", + mafiles_dir + ); match prompt().to_lowercase().as_str() { "n" => { info!("Aborting!"); @@ -138,8 +141,7 @@ fn main() { std::fs::create_dir_all(mafiles_dir).expect("failed to create directory"); manifest = accountmanager::Manifest::new(path.as_path()); - } - else { + } else { match accountmanager::Manifest::load(path.as_path()) { Ok(m) => { manifest = m;