Commit f1cbf75
Fix short doc descriptions leaking raw markdown reference definitions
The extract_reference_definitions heuristic matched rustdoc-internal
link lines (e.g. [`HandleErrorLayer`]: with no destination) that are
not valid CommonMark. Comrak rendered them as visible text in a second
paragraph, breaking the item listing display. Remove the ref-def
extraction entirely since shortcut links are already resolved via
the global index and pre-resolved links.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a76fde7 commit f1cbf75
1 file changed
Lines changed: 6 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | 448 | | |
461 | 449 | | |
462 | 450 | | |
| |||
479 | 467 | | |
480 | 468 | | |
481 | 469 | | |
482 | | - | |
483 | | - | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
484 | 475 | | |
485 | 476 | | |
486 | 477 | | |
| |||
489 | 480 | | |
490 | 481 | | |
491 | 482 | | |
492 | | - | |
493 | 483 | | |
494 | 484 | | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | 485 | | |
502 | | - | |
| 486 | + | |
503 | 487 | | |
504 | 488 | | |
505 | 489 | | |
| |||
0 commit comments