mirror of
https://github.com/rust-lang/rust.git
synced 2026-02-04 12:50:33 +00:00
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.