Skip to content

Commit 25e3b81

Browse files
authored
Rollup merge of #94122 - GuillaumeGomez:miniz-oxide-std, r=notriddle
Fix miniz_oxide types showing up in std docs Fixes #90526. Thanks to ``@camelid,`` I rediscovered `doc(masked)`, allowing us to prevent `miniz_oxide` type to show up in std docs. r? ``@notriddle``
2 parents b33836f + b78123c commit 25e3b81

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/std/src/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ extern crate libc;
364364
#[allow(unused_extern_crates)]
365365
extern crate unwind;
366366

367+
#[doc(masked)]
368+
#[allow(unused_extern_crates)]
369+
extern crate miniz_oxide;
370+
367371
// During testing, this crate is not actually the "real" std library, but rather
368372
// it links to the real std library, which was compiled from this same source
369373
// code. So any lang items std defines are conditionally excluded (or else they

0 commit comments

Comments
 (0)