mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Clippy
This commit is contained in:
parent
d2745c4cd5
commit
8568ae3364
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ pub(crate) struct ConfigFile {
|
|||
|
||||
impl ConfigFile {
|
||||
pub(crate) fn old_repo_path(&self) -> Option<&PathBuf> {
|
||||
self.old_repo.path.as_ref().or_else(|| match self.repo {
|
||||
self.old_repo.path.as_ref().or(match self.repo {
|
||||
Repo::Sled(ref sled) => Some(&sled.path),
|
||||
_ => None,
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue