style: apply rustfmt

This commit is contained in:
daimond113 2024-11-03 15:32:11 +01:00
parent 32d5f8c517
commit e53de00120
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C

View file

@ -85,7 +85,8 @@ async fn run() -> std::io::Result<()> {
let port: u16 = benv!(parse "PORT" => "8080"); let port: u16 = benv!(parse "PORT" => "8080");
let cwd = current_dir().unwrap(); 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(); fs_err::create_dir_all(&data_dir).unwrap();
let project = Project::new( let project = Project::new(