mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
75e17c96a8
To decide if internal items should be inlined in a doc page,
check if the crate is itself internal, rather than if it has
the rustc_private feature flag. The standard library uses
internal items, but is not itself internal and should not show
internal items on its docs pages.
(cherry picked from commit 6d6f67a98c)