rustdoc renders deprecated label in ambiguous location #98231
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
rustdoc renders labels like "Deprecated" next to items like functions which is very useful. However, it sometimes places it ambiguously below an item where you're not sure if it refers to the above item or the below item.
See here
For example in the following screenshot it is not sure whether
std::env::home_dir
is deprecated orstd::env::join_paths
.I get the same behaviour in both Firefox 101.0.1 and Chrome 102.0.5005.115. I'm on macOS.
Interestingly the column overflow behaviour for small screens and mobile is much better. For example
@rustbot label +A-rustdoc-ui +T-rustdoc
The text was updated successfully, but these errors were encountered: