Skip to content

Commit

Permalink
refactor(core): remove unnecessary clone
Browse files Browse the repository at this point in the history
  • Loading branch information
SARDONYX-sard committed Nov 3, 2023
1 parent bc43eb2 commit 3a429f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dar2oar_core/src/fs/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub async fn unhide_dar(dar_dir: impl AsRef<Path>) -> Result<ConvertedReport> {
.as_os_str()
.to_string_lossy()
.replace(".mohidden", "");
fs::rename(dar_root.clone(), dist).await?;
fs::rename(dar_root, dist).await?;
}
Ok(())
}
Expand Down

0 comments on commit 3a429f0

Please sign in to comment.