From 41d8d555f65a0dce9d09071ce830b7a90eb8b87c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 7 Feb 2023 15:30:17 +0100 Subject: [PATCH] follow clippy --- src/download.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/download.rs b/src/download.rs index 329a9da..4eb0703 100644 --- a/src/download.rs +++ b/src/download.rs @@ -1,7 +1,7 @@ /// Download all the posts pub async fn download_posts(posts: (String, Vec), dir: &str, download_special_files: bool) { // Create folder, silently ignore if already exists - std::fs::create_dir(&dir).unwrap_or_default(); + std::fs::create_dir(dir).unwrap_or_default(); // Define client with custom user-agent let client = reqwest::Client::builder()