-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
ruma/ruma
#1288Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
If glob reexport reexports module x
and there is already module x
, the documentation duplicates.
pub mod sub {
pub struct Item;
pub mod prelude {
pub use super::Item;
}
}
pub mod prelude {}
#[doc(inline)]
pub use sub::*;
Current behaviour:
(prelude
module is duplicated, though both prelude
module links point to crate::prelude
as expected)
The expected behaviour: prelude
module is only shown once.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.