Files
rust/src/librustdoc
Stuart Cook f92c79e3e0 Rollup merge of #155395 - GuillaumeGomez:copy-path-with-ronga, r=notriddle
Tweak how the "copy path" rustdoc button works to allow some accessibility tool to work with rustdoc

Fixes https://github.com/rust-lang/rust/issues/155032.

It's a bit better in term of "fragility" to retrieve this information: no need to parse text anymore, just to retrieve content. However it relies on HTML. I added extra tests to ensure it won't break without notice.

cc @Enyium

r? @lolbinarycat
2026-04-17 16:18:00 +10:00
..
2026-03-23 21:25:46 +01:00
2026-04-06 16:57:32 +05:30
2024-07-29 08:26:52 +10:00
2024-08-29 12:14:41 +02:00
2024-11-28 03:05:43 +01:00

For more information about how librustdoc works, see the rustc dev guide.