diff --git a/src/binaries.rs b/src/binaries.rs index e160186..ba7a1ec 100644 --- a/src/binaries.rs +++ b/src/binaries.rs @@ -175,7 +175,8 @@ where .map(|s| s.to_string_lossy()) .collect::>() .join(", "), - )).into()) + )) + .into()) } } @@ -226,7 +227,8 @@ where .map(|s| s.to_string_lossy()) .collect::>() .join(", "), - )).into()) + )) + .into()) } } diff --git a/src/bindgen.rs b/src/bindgen.rs index e6e9f54..68e9b60 100644 --- a/src/bindgen.rs +++ b/src/bindgen.rs @@ -55,7 +55,10 @@ pub fn install_wasm_bindgen( } /// Download a tarball containing a pre-built `wasm-bindgen` binary. -pub fn download_prebuilt_wasm_bindgen(root_path: &Path, version: &str) -> Result<(), failure::Error> { +pub fn download_prebuilt_wasm_bindgen( + root_path: &Path, + version: &str, +) -> Result<(), failure::Error> { let target = if target::LINUX && target::x86_64 { "x86_64-unknown-linux-musl" } else if target::MACOS && target::x86_64 { @@ -65,7 +68,8 @@ pub fn download_prebuilt_wasm_bindgen(root_path: &Path, version: &str) -> Result } else { return Err(Error::unsupported( "there are no pre-built `wasm-bindgen` binaries for this target", - ).into()); + ) + .into()); }; let url = format!(