mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 11:48:13 +01:00
Remove unnecessary borrow
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user