summaryrefslogtreecommitdiffstats
path: root/src/stackexchange/local_storage.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/stackexchange/local_storage.rs')
-rw-r--r--src/stackexchange/local_storage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stackexchange/local_storage.rs b/src/stackexchange/local_storage.rs
index 1d0af2c..b982b6f 100644
--- a/src/stackexchange/local_storage.rs
+++ b/src/stackexchange/local_storage.rs
@@ -44,7 +44,7 @@ impl LocalStorage {
pub async fn new(update: bool) -> Result<Self> {
let project = Config::project_dir()?;
let dir = project.cache_dir();
- fs::create_dir_all(&dir)?;
+ fs::create_dir_all(dir)?;
let sites_filename = dir.join("sites.json");
let sites = Self::init_sites(&sites_filename, update).await?;
Ok(LocalStorage { sites })