remove unnecessary Some()

pull/872/head
Kyle Criddle 4 years ago committed by David Peter
parent 4be5adc6f5
commit b1b8addf7e

@ -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 {

Loading…
Cancel
Save