remove unnecessary arguments for StorageExt::mount_path

This commit is contained in:
qwjyh 2024-03-17 02:47:34 +09:00
parent ed43d819d6
commit 0e8bd6b4c7
7 changed files with 14 additions and 19 deletions

View file

@ -43,7 +43,7 @@ impl BackupTarget {
pub fn path(&self, storages: &Storages, device: &Device) -> Result<PathBuf> {
let parent = storages.get(&self.storage).unwrap();
let parent_path = parent.mount_path(device, storages)?;
let parent_path = parent.mount_path(device)?;
Ok(parent_path.join(self.path.clone()))
}
}