From 4e34cdf2f34aaf5afb2b5d932d01c4d33707547a Mon Sep 17 00:00:00 2001 From: Pete Hayman Date: Wed, 9 Jul 2025 14:34:24 +1000 Subject: [PATCH] Update crates/bevy_asset/src/io/wasm.rs Co-authored-by: atlv --- crates/bevy_asset/src/io/wasm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_asset/src/io/wasm.rs b/crates/bevy_asset/src/io/wasm.rs index eb27596d0d..2d5b113e69 100644 --- a/crates/bevy_asset/src/io/wasm.rs +++ b/crates/bevy_asset/src/io/wasm.rs @@ -52,7 +52,7 @@ fn js_value_to_err(context: &str) -> impl FnOnce(JsValue) -> std::io::Error + '_ } impl HttpWasmAssetReader { - // Also used by HttpSourceAssetReader + // Also used by [`HttpSourceAssetReader`](crate::HttpSourceAssetReader) 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();