diff --git a/src/lib.rs b/src/lib.rs index 5b44ae5f..20f08670 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -140,7 +140,10 @@ impl Build { if host.contains("pc-windows-gnu") { configure.arg(&format!("--prefix={}", sanitize_sh(&install_dir))); } else if host.contains("pc-windows-msvc") { - configure.arg(&format!("--prefix={}", install_dir.to_str().unwrap().replace("\\", "/"))); + configure.arg(&format!( + "--prefix={}", + install_dir.to_str().unwrap().replace("\\", "/") + )); } else { configure.arg(&format!("--prefix={}", install_dir.display())); }