Rustdoc: inline methods available through blanket impls #25608
Labels
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
On reddit: https://www.reddit.com/r/rust/comments/36f94o/how_do_i_read_the_api_docs/
What’s going on is that the
to_string()
method is on theToString
trait which has a blanket impl… and
str
implementsDisplay
.So in the spirit of #19190 (show methods available through deref), rustdoc should also show methods available through blanket implementations.
The text was updated successfully, but these errors were encountered: