Commit 9e477bf
authored
Rollup merge of rust-lang#64175 - GuillaumeGomez:replace-span-when-it-should-be-div, r=Mark-Simulacrum
Fix invalid span generation when it should be div
Fixes rust-lang#64146.
It changes basically nothing in the display... Can be checked with:
```rust
pub enum X {
/// Some doc?
///
/// with lines!
Foo {
/// a
///
/// b
x: u32,
/// Doc!
///
/// ```
/// yolo
/// ```
y: String,
},
/// Doc!
///
/// ```
/// yolo
/// ```
Bar(String),
}
```
r? @Mark-Simulacrum1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3554 | 3554 | | |
3555 | 3555 | | |
3556 | 3556 | | |
3557 | | - | |
| 3557 | + | |
3558 | 3558 | | |
3559 | 3559 | | |
3560 | 3560 | | |
| |||
3572 | 3572 | | |
3573 | 3573 | | |
3574 | 3574 | | |
3575 | | - | |
| 3575 | + | |
3576 | 3576 | | |
3577 | 3577 | | |
3578 | 3578 | | |
| |||
3583 | 3583 | | |
3584 | 3584 | | |
3585 | 3585 | | |
3586 | | - | |
| 3586 | + | |
3587 | 3587 | | |
3588 | 3588 | | |
3589 | 3589 | | |
| |||
3609 | 3609 | | |
3610 | 3610 | | |
3611 | 3611 | | |
3612 | | - | |
| 3612 | + | |
3613 | 3613 | | |
3614 | 3614 | | |
3615 | 3615 | | |
| |||
0 commit comments