rust/tests
Matthias Krüger c2b085b4d4
Rollup merge of #128339 - GuillaumeGomez:click-code-example, r=notriddle
[rustdoc] Make the buttons remain when code example is clicked

Follow-up of https://github.com/rust-lang/rust/pull/125779.

One current issue we have with "run" button and the newly added copy code button is that if you're on mobile devices, you can't use them. I took a look at how `mdbook` is handling it and when you click on a code example, they show the buttons. I think it's a really good idea as if you want to copy the code on your mobile device, you will click on it, showing the buttons.

Feature can be tested [here](https://rustdoc.crud.net/imperio/click-code-example/foo/struct.Bar.html).

r? `@notriddle`
2024-07-30 04:31:55 +02:00
..
assembly Reformat use declarations. 2024-07-29 08:26:52 +10:00
auxiliary
codegen Rollup merge of #128141 - nikic:aarch64-bti, r=DianQK,cuviper 2024-07-30 04:31:54 +02:00
codegen-units
coverage
coverage-run-rustdoc
crashes Rollup merge of #128337 - bvanjoi:issue-121613, r=compiler-errors 2024-07-29 17:46:44 +02:00
debuginfo
incremental Perform instsimplify before inline to eliminate some trivial calls 2024-07-29 18:14:35 +08:00
mir-opt Stabilize offset_of_nested 2024-07-29 17:50:12 +01:00
pretty
run-make rewrite raw-dylib-stdcall-ordinal to rmake 2024-07-29 10:58:28 -04:00
run-pass-valgrind
rustdoc rustdoc: move the wbr after the underscore, instead of before 2024-07-29 10:31:02 -07:00
rustdoc-gui Rollup merge of #128339 - GuillaumeGomez:click-code-example, r=notriddle 2024-07-30 04:31:55 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json Reformat use declarations. 2024-07-29 08:26:52 +10:00
rustdoc-ui
ui Rollup merge of #127574 - lcnr:coherence-check-supertrait, r=compiler-errors 2024-07-30 04:31:54 +02:00
ui-fulldeps
COMPILER_TESTS.md