From 63ea815f9217db95258aaf7122d8fabd6e7b63c4 Mon Sep 17 00:00:00 2001 From: Rohit Narurkar Date: Thu, 23 Jun 2022 10:47:55 +0200 Subject: [PATCH] fix: must-use result from std::fs::rename --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 01c106d..9d338da 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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) }