mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-16 19:58:03 +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::create_dir_all(dir)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
fs::write(path, &id)?;
|
fs::write(path, id)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user