Skip to content

Commit

Permalink
Remove #[doc(inline)] to Prevent Doc Spam
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald authored and ErichDonGubler committed May 10, 2024
1 parent f4b8b15 commit 2f45227
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions wgpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,40 +69,34 @@ 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;

/// 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
Expand Down

0 comments on commit 2f45227

Please sign in to comment.