Remove #[doc(inline)] to Prevent Doc Spam

This commit is contained in:
Connor Fitzgerald 2024-05-08 20:45:11 -04:00 committed by Erich Gubler
parent f4b8b15df3
commit 2f4522714c

View File

@ -69,32 +69,27 @@ pub use wgt::{
/// Re-export of our `wgpu-core` dependency. /// Re-export of our `wgpu-core` dependency.
/// ///
#[cfg(wgpu_core)] #[cfg(wgpu_core)]
#[doc(inline)]
pub use ::wgc as core; pub use ::wgc as core;
/// Re-export of our `wgpu-hal` dependency. /// Re-export of our `wgpu-hal` dependency.
/// ///
/// ///
#[cfg(wgpu_core)] #[cfg(wgpu_core)]
#[doc(inline)]
pub use ::hal; pub use ::hal;
/// Re-export of our `naga` dependency. /// Re-export of our `naga` dependency.
/// ///
#[cfg(wgpu_core)] #[cfg(wgpu_core)]
#[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))] #[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))]
#[doc(inline)]
// We re-export wgpu-core's re-export of naga, as we may not have direct access to it. // We re-export wgpu-core's re-export of naga, as we may not have direct access to it.
pub use ::wgc::naga; pub use ::wgc::naga;
/// Re-export of our `naga` dependency. /// Re-export of our `naga` dependency.
/// ///
#[cfg(all(not(wgpu_core), naga))] #[cfg(all(not(wgpu_core), naga))]
#[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))] #[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))]
#[doc(inline)]
// If that's not available, we re-export our own. // If that's not available, we re-export our own.
pub use naga; pub use naga;
#[doc(inline)]
/// Re-export of our `raw-window-handle` dependency. /// Re-export of our `raw-window-handle` dependency.
/// ///
pub use raw_window_handle as rwh; pub use raw_window_handle as rwh;
@ -102,7 +97,6 @@ pub use raw_window_handle as rwh;
/// Re-export of our `web-sys` dependency. /// Re-export of our `web-sys` dependency.
/// ///
#[cfg(any(webgl, webgpu))] #[cfg(any(webgl, webgpu))]
#[doc(inline)]
pub use web_sys; pub use web_sys;
// wasm-only types, we try to keep as many types non-platform // wasm-only types, we try to keep as many types non-platform