refactor: apply RustRover lint suggestions (#569)

This commit is contained in:
Jacob Marshall
2025-02-17 07:40:03 +00:00
committed by GitHub
parent 06bc3700b7
commit b632cf43ba
6 changed files with 113 additions and 114 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ impl TempTuonoProject {
impl Drop for TempTuonoProject {
fn drop(&mut self) {
// Set back the current dir in the previous state
env::set_current_dir(self.original_dir.to_owned())
env::set_current_dir(&self.original_dir)
.expect("Failed to restore the original directory.");
}
}