]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #64267 - ehuss:rustdoc-fix-mixed-code-block, r=GuillaumeGomez
authorMazdak Farrokhzad <twingoow@gmail.com>
Sun, 8 Sep 2019 10:11:59 +0000 (12:11 +0200)
committerGitHub <noreply@github.com>
Sun, 8 Sep 2019 10:11:59 +0000 (12:11 +0200)
rustdoc: fix diagnostic with mixed code block styles

This fixes a relatively obscure issue where the diagnostic (emitted [here](https://github.com/rust-lang/rust/blame/ef54f57c5b9d894a38179d09b00610c1b337b086/src/librustdoc/passes/check_code_block_syntax.rs#L69)) would get confused since the "is_fenced" flag wasn't reset properly.


Trivial merge