Skip to content

Commit

Permalink
fix: must-use result from std::fs::rename
Browse files Browse the repository at this point in the history
  • Loading branch information
roynalnaruto committed Jun 23, 2022
1 parent d10358d commit 63ea815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Installer {
archive.extract(version_path.as_path())?;

// rename solc binary
std::fs::rename(version_path.join("solc.exe"), solc_path.as_path());
std::fs::rename(version_path.join("solc.exe"), solc_path.as_path())?;

Ok(solc_path)
}
Expand Down

0 comments on commit 63ea815

Please sign in to comment.