Remove unnecessary to_string for clone

This commit is contained in:
Luke Parker
2025-08-30 18:08:08 -04:00
parent 3158590675
commit c69841710a
4 changed files with 4 additions and 5 deletions

View File

@@ -19,8 +19,7 @@ fn sol(sol_files: &[&str], file: &str) {
}
fn main() {
let artifacts_path =
env::var("OUT_DIR").unwrap().to_string() + "/serai-processor-ethereum-router";
let artifacts_path = env::var("OUT_DIR").unwrap().clone() + "/serai-processor-ethereum-router";
if !fs::exists(&artifacts_path).unwrap() {
fs::create_dir(&artifacts_path).unwrap();