rustdoc: make item links consistently use title="{shortty} {path}"
The ordering in item tables was flipped in3030cbea95
, making it inconsistent with the ordering in method signatures. Compare these:c8e6a9e8b6/src/librustdoc/html/render/print_item.rs (L455-L459)
c8e6a9e8b6/src/librustdoc/html/format.rs (L903-L908)
This commit is contained in:
parent
c8e6a9e8b6
commit
57ca36861d
7 changed files with 8 additions and 8 deletions
|
@ -4,8 +4,8 @@ goto: "file://" + |DOC_PATH| + "/test_docs/index.html"
|
|||
show-text: true
|
||||
|
||||
compare-elements-property: (
|
||||
"//a[@title='test_docs::safe_fn fn']/..",
|
||||
"//a[@title='test_docs::unsafe_fn fn']/..",
|
||||
"//a[@title='fn test_docs::safe_fn']/..",
|
||||
"//a[@title='fn test_docs::unsafe_fn']/..",
|
||||
["clientHeight"]
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue