From 04d8fe5fde582a12a6effd05338d90c19f549776 Mon Sep 17 00:00:00 2001 From: Peter Hayman Date: Tue, 22 Apr 2025 14:00:38 +1000 Subject: [PATCH] format --- crates/bevy_asset/src/io/wasm.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/bevy_asset/src/io/wasm.rs b/crates/bevy_asset/src/io/wasm.rs index 586e095409..ea8f7a687a 100644 --- a/crates/bevy_asset/src/io/wasm.rs +++ b/crates/bevy_asset/src/io/wasm.rs @@ -53,10 +53,7 @@ fn js_value_to_err(context: &str) -> impl FnOnce(JsValue) -> std::io::Error + '_ impl HttpWasmAssetReader { // Also used by HttpSourceAssetReader - pub(crate) async fn fetch_bytes( - &self, - path: PathBuf, - ) -> Result { + pub(crate) async fn fetch_bytes(&self, path: PathBuf) -> Result { // The JS global scope includes a self-reference via a specializing name, which can be used to determine the type of global context available. let global: Global = js_sys::global().unchecked_into(); let promise = if !global.window().is_undefined() {