]> git.lizzy.rs Git - rust.git/commitdiff
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)
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


Trivial merge