let test_dir = setup_test_dir();
let dir_name = test_dir.file_name().unwrap().to_string_lossy();
let parent = test_dir.parent().unwrap();
- let html_dir = parent.join(format!("{}_html", dir_name));
- let gemini_dir = parent.join(format!("{}_gemini", dir_name));
+ let html_dir = parent.join(format!("{dir_name}_html"));
+ let gemini_dir = parent.join(format!("{dir_name}_gemini"));
let _cleanup = TestDir {
paths: vec![test_dir.clone(), html_dir.clone(), gemini_dir.clone()],
let test_dir = setup_test_dir();
let dir_name = test_dir.file_name().unwrap().to_string_lossy();
let parent = test_dir.parent().unwrap();
- let html_dir = parent.join(format!("{}_html", dir_name));
- let gemini_dir = parent.join(format!("{}_gemini", dir_name));
+ let html_dir = parent.join(format!("{dir_name}_html"));
+ let gemini_dir = parent.join(format!("{dir_name}_gemini"));
let _cleanup = TestDir {
paths: vec![test_dir.clone(), html_dir.clone(), gemini_dir.clone()],