From 0254b1ab5c8a9d9b4b88ea8050bd2abb2c257e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 21 Jul 2022 00:46:12 +0200 Subject: [PATCH] add missing doc in wasm --- crates/bevy_asset/src/io/wasm_asset_io.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_asset/src/io/wasm_asset_io.rs b/crates/bevy_asset/src/io/wasm_asset_io.rs index 91fe067128c68..c4ecae76cf71a 100644 --- a/crates/bevy_asset/src/io/wasm_asset_io.rs +++ b/crates/bevy_asset/src/io/wasm_asset_io.rs @@ -25,6 +25,7 @@ pub struct WasmAssetIo { } impl WasmAssetIo { + /// Creates a new `WasmAssetIo`. The path provided will be used to build URLs to query for assets. pub fn new>(path: P) -> Self { WasmAssetIo { root_path: path.as_ref().to_owned(),