Skip to content

Commit

Permalink
Rollup merge of #94122 - GuillaumeGomez:miniz-oxide-std, r=notriddle
Browse files Browse the repository at this point in the history
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``
  • Loading branch information
matthiaskrgr authored Feb 19, 2022
2 parents b33836f + b78123c commit 25e3b81
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/std/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,10 @@ extern crate libc;
#[allow(unused_extern_crates)]
extern crate unwind;

#[doc(masked)]
#[allow(unused_extern_crates)]
extern crate miniz_oxide;

// During testing, this crate is not actually the "real" std library, but rather
// it links to the real std library, which was compiled from this same source
// code. So any lang items std defines are conditionally excluded (or else they
Expand Down

0 comments on commit 25e3b81

Please sign in to comment.