Rustdoc makes trait bounds with associated types overly verbose #102142
Labels
A-associated-items
Area: Associated items (types, constants & functions)
A-cross-crate-reexports
Area: Documentation that has been re-exported from a different crate
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.
Location
https://doc.rust-lang.org/std/future/trait.IntoFuture.html
https://doc.rust-lang.org/std/iter/trait.IntoIterator.html
Summary
The definition of the
IntoFuture
trait looks like:Rustdoc renders this as:
This makes the trait bound for the
IntoFuture
associated type verbose and cryptic.The text was updated successfully, but these errors were encountered: