mirror of
https://github.com/epi052/feroxbuster
synced 2024-07-05 16:58:36 +00:00
clippy
This commit is contained in:
parent
5f39d71fe8
commit
6fd201b717
|
@ -9,7 +9,7 @@ pub fn setup_tmp_directory(
|
|||
filename: &str,
|
||||
) -> Result<(TempDir, PathBuf), Box<dyn std::error::Error>> {
|
||||
let tmp_dir = TempDir::new()?;
|
||||
let file = tmp_dir.path().join(&filename);
|
||||
let file = tmp_dir.path().join(filename);
|
||||
write(&file, words.join("\n"))?;
|
||||
Ok((tmp_dir, file))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user