diff --git a/wireguard-go-rs/build.rs b/wireguard-go-rs/build.rs index 7600b54df52e..308715b05750 100644 --- a/wireguard-go-rs/build.rs +++ b/wireguard-go-rs/build.rs @@ -285,8 +285,7 @@ fn build_shared_maybenot_lib(out_dir: impl AsRef) -> anyhow::Result<()> { ] { let src = artifacts_dir.join(src_filename); let dest = out_dir.as_ref().join(dest_filename); - fs::copy(&src, &dest) - .with_context(|| format!("Failed to copy {src_filename} to {dest_filename}",))?; + fs::copy(&src, &dest).with_context(|| format!("Failed to copy {src_filename}",))?; } Ok(())