]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #107242 - notriddle:notriddle/title-ordering, r=GuillaumeGomez
authorYuki Okushi <jtitor@2k36.org>
Fri, 27 Jan 2023 03:57:55 +0000 (12:57 +0900)
committerGitHub <noreply@github.com>
Fri, 27 Jan 2023 03:57:55 +0000 (12:57 +0900)
commit145241402d8d64173ebdab1615c369a834d179f4
treee524cec2d98612baee2b4e5d74c4e5cbbc2f8244
parenteb5e63e3f0144d145e85bc0677ea49b97b491896
parent57ca36861d35dd1f75d8b51dd975c884bb2c6872
Rollup merge of #107242 - notriddle:notriddle/title-ordering, r=GuillaumeGomez

rustdoc: make item links consistently use `title="{shortty} {path}"`

The ordering in item tables was flipped in 3030cbea957adbd560bf2eaa34c1b8a56daee16a, making it inconsistent with the ordering in method signatures.

Compare these (before this PR is merged):

https://github.com/rust-lang/rust/blob/c8e6a9e8b6251bbc8276cb78cabe1998deecbed7/src/librustdoc/html/render/print_item.rs#L455-L459

https://github.com/rust-lang/rust/blob/c8e6a9e8b6251bbc8276cb78cabe1998deecbed7/src/librustdoc/html/format.rs#L903-L908