diff --git a/dar2oar_core/src/fs/mod.rs b/dar2oar_core/src/fs/mod.rs index 68ae8d1..9e7fb65 100644 --- a/dar2oar_core/src/fs/mod.rs +++ b/dar2oar_core/src/fs/mod.rs @@ -88,7 +88,7 @@ pub async fn unhide_dar(dar_dir: impl AsRef) -> Result { .as_os_str() .to_string_lossy() .replace(".mohidden", ""); - fs::rename(dar_root.clone(), dist).await?; + fs::rename(dar_root, dist).await?; } Ok(()) }