Skip to content

Commit 2f45227

Browse files
cwfitzgeraldErichDonGubler
authored andcommitted
Remove #[doc(inline)] to Prevent Doc Spam
1 parent f4b8b15 commit 2f45227

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

wgpu/src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -69,40 +69,34 @@ pub use wgt::{
6969
/// Re-export of our `wgpu-core` dependency.
7070
///
7171
#[cfg(wgpu_core)]
72-
#[doc(inline)]
7372
pub use ::wgc as core;
7473

7574
/// Re-export of our `wgpu-hal` dependency.
7675
///
7776
///
7877
#[cfg(wgpu_core)]
79-
#[doc(inline)]
8078
pub use ::hal;
8179

8280
/// Re-export of our `naga` dependency.
8381
///
8482
#[cfg(wgpu_core)]
8583
#[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))]
86-
#[doc(inline)]
8784
// We re-export wgpu-core's re-export of naga, as we may not have direct access to it.
8885
pub use ::wgc::naga;
8986
/// Re-export of our `naga` dependency.
9087
///
9188
#[cfg(all(not(wgpu_core), naga))]
9289
#[cfg_attr(docsrs, doc(cfg(any(wgpu_core, naga))))]
93-
#[doc(inline)]
9490
// If that's not available, we re-export our own.
9591
pub use naga;
9692

97-
#[doc(inline)]
9893
/// Re-export of our `raw-window-handle` dependency.
9994
///
10095
pub use raw_window_handle as rwh;
10196

10297
/// Re-export of our `web-sys` dependency.
10398
///
10499
#[cfg(any(webgl, webgpu))]
105-
#[doc(inline)]
106100
pub use web_sys;
107101

108102
// wasm-only types, we try to keep as many types non-platform

0 commit comments

Comments
 (0)