about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-13 10:03:05 +0000
committerbors <bors@rust-lang.org>2018-06-13 10:03:05 +0000
commit7f20af002e33a3f38b51a7e3f9c63bcae4214613 (patch)
tree07088a06b0145fe96d3f1f1a0ff808031a53b070 /src/test/incremental/thinlto
parent8398ab82e5d6623f49f054af848f1553f429d307 (diff)
parentca65a5e485761ed06e88756d9066156109b0755f (diff)
downloadrust-7f20af002e33a3f38b51a7e3f9c63bcae4214613.tar.gz
rust-7f20af002e33a3f38b51a7e3f9c63bcae4214613.zip
Auto merge of #51527 - kennytm:do-not-auto-hide-inherent-impl, r=GuillaumeGomez
Don't auto-hide inherent impls even if `rustdoc-collapse == true`.

This PR changes the auto-collapse behavior when a page is first loaded:

* Inherent impls will never be collapsed by default (new behavior).
* Trait impls will always be collapsed by default, same as before.
* Other items are collapsed according to localStorage, same as before.

This should be much more useful since there is no hint what the content of a collapsed inherent impl would be (try to collapse everything in https://doc.rust-lang.org/std/vec/struct.Vec.html and guess where a method like `try_reserve` or `splice` would be).

Manually clicking the global [-]/[+] will still collapse/expand everything.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions