Summary: Unnecessary borrow.

Reviewed By: lblasa

Differential Revision: D35902385

fbshipit-source-id: d116305388d3a156093513d0892b245f690b4be0
This commit is contained in:
Pascal Hartig
2022-04-26 03:29:40 -07:00
committed by Facebook GitHub Bot
parent b4bddcb7de
commit d40b0eab9c

View File

@@ -405,7 +405,7 @@ mod test {
let tmp_dir = tempdir::TempDir::new("manifest_test")?; let tmp_dir = tempdir::TempDir::new("manifest_test")?;
let archive_paths = &[(PackType::Core, artifact_path)]; let archive_paths = &[(PackType::Core, artifact_path)];
let path = manifest(archive_paths, &None, &tmp_dir.path())?; let path = manifest(archive_paths, &None, tmp_dir.path())?;
let manifest_content = std::fs::read_to_string(&path)?; let manifest_content = std::fs::read_to_string(&path)?;