mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
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
This commit is contained in:
parent
48b3118fdd
commit
735f9b6024
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ use std::{
|
|||
#[cfg(not(target_arch = "wasm32"))]
|
||||
pub type BoxedFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + 'a>>;
|
||||
|
||||
#[allow(missing_docs)]
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
pub type BoxedFuture<'a, T> = Pin<Box<dyn Future<Output = T> + 'a>>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue