remove unnecessary Some()
commitb1b8addf7e5f7b06b741caf7bdf11c795795ae1f
authorKyle Criddle <criddle.kyle@gmail.com>
dateTue 17 Mar 2020, 19:40 (7 years ago)
parent4be5adc
src/dirs.rs+1−1
@@ -47,7 +47,7 @@ impl BatProjectDirs {
4747 #[cfg(not(target_os = "macos"))]
4848 let cache_dir_op = dirs_rs::cache_dir();
4949
50− Some(cache_dir_op.map(|d| d.join("bat")))?
50+ cache_dir_op.map(|d| d.join("bat"))
5151 }
5252
5353 pub fn cache_dir(&self) -> &Path {