about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTom Jakubowski <tom@crystae.net>2014-10-05 06:00:50 -0700
committerTom Jakubowski <tom@crystae.net>2014-10-06 01:51:58 -0700
commit942bed7aa6225b63b9633b4540dd4498c0a44623 (patch)
treed2c93230c3681ce3f00e5dc99ffecc4ca32098ac /src/rustllvm/RustWrapper.cpp
parentdfbe9eb3b24fdc7ea5c78f96fedec6630476dec7 (diff)
downloadrust-942bed7aa6225b63b9633b4540dd4498c0a44623.tar.gz
rust-942bed7aa6225b63b9633b4540dd4498c0a44623.zip
rustdoc: make calls of markdown::render safer
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions