]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #64175 - GuillaumeGomez:replace-span-when-it-should-be-div, r=Mark...
authorMazdak Farrokhzad <twingoow@gmail.com>
Fri, 6 Sep 2019 07:36:45 +0000 (09:36 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2019 07:36:45 +0000 (09:36 +0200)
Fix invalid span generation when it should be div

Fixes #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-Simulacrum


Trivial merge