From 735f9b60241000f49089ae587ba7d88bf2a5d932 Mon Sep 17 00:00:00 2001 From: Martin Lysell Date: Fri, 26 May 2023 02:29:26 +0200 Subject: [PATCH] Allow missing docs on wasm implementation of BoxedFuture (#8674) # Objective Reduce missing docs warning noise when building examples for wasm ## Solution Added "#[allow(missing_docs)]" on the wasm specific version of BoxedFuture --- crates/bevy_utils/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_utils/src/lib.rs b/crates/bevy_utils/src/lib.rs index 52e69edbd1..3dc32e81d8 100644 --- a/crates/bevy_utils/src/lib.rs +++ b/crates/bevy_utils/src/lib.rs @@ -47,6 +47,7 @@ use std::{ #[cfg(not(target_arch = "wasm32"))] pub type BoxedFuture<'a, T> = Pin + Send + 'a>>; +#[allow(missing_docs)] #[cfg(target_arch = "wasm32")] pub type BoxedFuture<'a, T> = Pin + 'a>>;