From e53de001203e55f8d9cf1f8446af6bbb5d609504 Mon Sep 17 00:00:00 2001 From: daimond113 <72147841+daimond113@users.noreply.github.com> Date: Sun, 3 Nov 2024 15:32:11 +0100 Subject: [PATCH] style: apply rustfmt --- registry/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/registry/src/main.rs b/registry/src/main.rs index 8ce2f67..a866576 100644 --- a/registry/src/main.rs +++ b/registry/src/main.rs @@ -85,7 +85,8 @@ async fn run() -> std::io::Result<()> { let port: u16 = benv!(parse "PORT" => "8080"); let cwd = current_dir().unwrap(); - let data_dir = PathBuf::from(benv!("DATA_DIR" => "{CWD}/data").replace("{CWD}", cwd.to_str().unwrap())); + let data_dir = + PathBuf::from(benv!("DATA_DIR" => "{CWD}/data").replace("{CWD}", cwd.to_str().unwrap())); fs_err::create_dir_all(&data_dir).unwrap(); let project = Project::new(