mirror of
https://github.com/sharkdp/bat
synced 2024-11-27 22:30:33 +00:00
remove unnecessary Some()
This commit is contained in:
parent
4be5adc6f5
commit
b1b8addf7e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue