Remove unnecessary borrow

This commit is contained in:
Marcin Kulik
2023-12-28 21:14:40 +01:00
parent 761e346269
commit cbbfd853ea

View File

@@ -159,7 +159,7 @@ fn save_install_id(path: &PathBuf, id: &str) -> Result<()> {
fs::create_dir_all(dir)?;
}
fs::write(path, &id)?;
fs::write(path, id)?;
Ok(())
}