remove unnecessary Some()

This commit is contained in:
Kyle Criddle authored and David Peter committed 2020-03-18 17:03:03 +01:00
1 parent 4be5adc6f5
commit b1b8addf7e
1 file changed
+1 -1
+1 -1
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 {