From 2f4522714c4037a1842d27bb448b634f089664ab Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Wed, 8 May 2024 20:45:11 -0400 Subject: [PATCH] Remove `#[doc(inline)]` to Prevent Doc Spam --- wgpu/src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 3f64261a6..5cbfc04bf 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -69,32 +69,27 @@ pub use wgt::{ /// Re-export of our `wgpu-core` dependency. /// #[cfg(wgpu_core)] -#[doc(inline)] pub use ::wgc as core; /// Re-export of our `wgpu-hal` dependency. /// /// #[cfg(wgpu_core)] -#[doc(inline)] pub use ::hal; /// Re-export of our `naga` dependency. /// #[cfg(wgpu_core)] #[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. pub use ::wgc::naga; /// Re-export of our `naga` dependency. /// #[cfg(all(not(wgpu_core), naga))] #[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))] -#[doc(inline)] // If that's not available, we re-export our own. pub use naga; -#[doc(inline)] /// Re-export of our `raw-window-handle` dependency. /// 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. /// #[cfg(any(webgl, webgpu))] -#[doc(inline)] pub use web_sys; // wasm-only types, we try to keep as many types non-platform