Run cargo fmt

This commit is contained in:
Cameron
2025-08-11 17:08:24 -04:00
parent 88114ef4d4
commit 6aa3c932fb
3 changed files with 5 additions and 5 deletions

View File

@@ -75,6 +75,6 @@ impl AppState {
#[cfg(test)]
fn create_test_subdir(base_path: &std::path::Path, name: &str) -> std::path::PathBuf {
let dir_path = base_path.join(name);
std::fs::create_dir_all(&dir_path).expect(&format!("Failed to create {} directory", name));
std::fs::create_dir_all(&dir_path).unwrap_or_else(|_| panic!("Failed to create {} directory", name));
dir_path
}