mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-20 11:58:45 +00:00
remove unnecessary Some()
This commit is contained in:
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…
x
Reference in New Issue
Block a user