]> git.lizzy.rs Git - rust.git/commit
auto merge of #17796 : tomjakubowski/rust/rustdoc-ice-17736, r=alexcrichton
authorbors <bors@rust-lang.org>
Mon, 6 Oct 2014 14:57:19 +0000 (14:57 +0000)
committerbors <bors@rust-lang.org>
Mon, 6 Oct 2014 14:57:19 +0000 (14:57 +0000)
commit3edcdbb0c01187a0cc6456ca29cd858579459b18
tree1caa839129f4003d2863242fb07e058299bef86b
parent0d94fdaeb8b16b0f34c4bc03e7f95a18ffffba75
parent942bed7aa6225b63b9633b4540dd4498c0a44623
auto merge of #17796 : tomjakubowski/rust/rustdoc-ice-17736, r=alexcrichton

Previously, external code might call `markdown::render()` without having
called `markdown::reset_headers()`, meaning the TLS key
`used_header_map` was unset.  Now `markdown::render()` ensures that
`used_header_map` is set by calling `reset_headers` if necessary.

Fix #17736