From fb08c1c0d0578a3d909ad68a723c5d51aded387e Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 7 Jul 2024 16:01:52 +0900 Subject: [PATCH] Fix a typo in error message s/direcotry/directory --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index e33daf7..d1b732d 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -44,7 +44,7 @@ pub fn cache_dir() -> PathBuf { let path = match std::env::var("XDG_CACHE_HOME") { Ok(path) => PathBuf::from(path), Err(_) => dirs::cache_dir() - .expect("unable to locate cache direcotry. Try setting 'XDG_CACHE_HOME' manually"), + .expect("unable to locate cache directory. Try setting 'XDG_CACHE_HOME' manually"), } .join(crate::APPNAME);