Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
inetic committed Dec 10, 2024
1 parent ab6bf93 commit ec44b2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vfs/src/fuse/multi_repo_vfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ fn extract_mount_point(store_path: &Path) -> Result<&OsStr, io::Error> {
}

// TODO: should this be async?
fn prepare_mountpoint(store_path: &PathBuf, mount_root: &PathBuf) -> Result<PathBuf, io::Error> {
let mount_point = extract_mount_point(&store_path)?;
fn prepare_mountpoint(store_path: &Path, mount_root: &Path) -> Result<PathBuf, io::Error> {
let mount_point = extract_mount_point(store_path)?;
let mount_point = mount_root.join(mount_point);

let create_dir_error = match fs::create_dir_all(&mount_point) {
Expand Down

0 comments on commit ec44b2a

Please sign in to comment.