Skip to content

Commit

Permalink
Fix a typo in error message
Browse files Browse the repository at this point in the history
s/direcotry/directory
  • Loading branch information
y-yagi committed Jul 7, 2024
1 parent 816e11d commit fb08c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit fb08c1c

Please sign in to comment.