remove unnecessary Some()

This commit is contained in:
Kyle Criddle 2020-03-17 19:40:27 -06:00 committed by David Peter
parent 4be5adc6f5
commit b1b8addf7e

View file

@ -47,7 +47,7 @@ impl BatProjectDirs {
#[cfg(not(target_os = "macos"))]
let cache_dir_op = dirs_rs::cache_dir();
Some(cache_dir_op.map(|d| d.join("bat")))?
cache_dir_op.map(|d| d.join("bat"))
}
pub fn cache_dir(&self) -> &Path {