rustdoc shows the anonymous lifetime in the foreign implementations section of re-exported traits #84634
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
C-bug
Category: This is a bug.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Compare the docs for
futures_core::stream::Stream
vsfutures::stream::Stream
which is just a re-export of the former. In the original docs the anonymous lifetime on theimpl<T: Stream + Unpin> Stream for &mut T
is not shown, in either the sidebar or main docsWhile in the re-exported docs, the anonymous lifetime is shown in both locations
(along with some other differences that probably deserve separate issues)
Reproduced locally on
rustdoc 1.53.0-nightly (968425893 2021-04-26)
The text was updated successfully, but these errors were encountered: