diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-20 00:37:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-20 00:37:32 +0100 |
| commit | a69aaf4aeef9832ee54ca6bf20274c6f25a875e5 (patch) | |
| tree | 7e70fa03818267e53940ec2ce09ab9998c2cad2e | |
| parent | 9246e8867cf6f6af0791a611afecec4687c0b038 (diff) | |
| parent | b78123cdcf53b146da3739acc436eb883ee39d17 (diff) | |
| download | rust-a69aaf4aeef9832ee54ca6bf20274c6f25a875e5.tar.gz rust-a69aaf4aeef9832ee54ca6bf20274c6f25a875e5.zip | |
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```````
| -rw-r--r-- | library/std/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index 919bc3496c4..2628afd4237 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -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 |
