Commit d22b019
authored
Rollup merge of rust-lang#110162 - notriddle:notriddle/main-js-expand, r=GuillaumeGomez
rustdoc: remove redundant expandSection code from main.js
This functionality is already tested in `hash-item-expansion.goml`, and was implemented twice:
* First, in code that ran at load time and at hash change: 917cdd2
* Later, the hash change event handler was itself run at load time, and the code handling both cases diverged in implementation, though their behavior still matches pretty well: f66a3311 file changed
+5
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | 334 | | |
339 | 335 | | |
340 | 336 | | |
| |||
355 | 351 | | |
356 | 352 | | |
357 | 353 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
362 | 359 | | |
363 | | - | |
364 | 360 | | |
365 | 361 | | |
366 | 362 | | |
| |||
699 | 695 | | |
700 | 696 | | |
701 | 697 | | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | 698 | | |
708 | 699 | | |
709 | 700 | | |
| |||
0 commit comments