diff options
-rw-r--r-- | src/bin/bat/directories.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/bat/directories.rs b/src/bin/bat/directories.rs index 8f0f261d..a0e493df 100644 --- a/src/bin/bat/directories.rs +++ b/src/bin/bat/directories.rs @@ -32,7 +32,7 @@ impl BatProjectDirs { }) } - pub fn get_cache_dir() -> Option<PathBuf> { + fn get_cache_dir() -> Option<PathBuf> { // on all OS prefer BAT_CACHE_PATH if set let cache_dir_op = env::var_os("BAT_CACHE_PATH").map(PathBuf::from); if cache_dir_op.is_some() { |