]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #83645 - pickfire:patch-3, r=GuillaumeGomez
authorDylan DPC <dylan.dpc@gmail.com>
Tue, 30 Mar 2021 09:34:27 +0000 (11:34 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Mar 2021 09:34:27 +0000 (11:34 +0200)
commit9f9577c1aa9a6a1f5219e07b3dae044c3a00df82
tree2e64b8aed7af1184cb7a2e320cd969da16dc8045
parent5b67543c981d13233b2f4f2004b7de8abf279d54
parent7d21972579011cf97d9d439699efae6244219835
Rollup merge of #83645 - pickfire:patch-3, r=GuillaumeGomez

Wrap non-pre code blocks

Fix #83550 regression

```
$ cargo new --lib whitespace && cd whitespace && echo '//! `"   foo   "`' > src/lib.rs && cargo doc --open
```

Before

![](https://user-images.githubusercontent.com/89623/112713498-c0dfc200-8ed5-11eb-8c57-efdf26372e74.png)

After

![](https://user-images.githubusercontent.com/89623/112713538-f08eca00-8ed5-11eb-8a98-675179f60ae2.png)

r? ``@GuillaumeGomez``
cc ``@mgeisler``