about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-07-14 04:00:26 +0000
committerbors <bors@rust-lang.org>2015-07-14 04:00:26 +0000
commitc8cddde207aa256527d30d83855e65dc2d59c2b6 (patch)
tree70cf63481f006eb66e97c7e310886cecf63573b2 /src/rustllvm/RustWrapper.cpp
parentdd46cf8b22c39a74b786361e00af22314a32b196 (diff)
parent71e7fee803ff5158c85962144f47073210fdb6ba (diff)
downloadrust-c8cddde207aa256527d30d83855e65dc2d59c2b6.tar.gz
rust-c8cddde207aa256527d30d83855e65dc2d59c2b6.zip
Auto merge of #27002 - IvanUkhov:docblock-pre-code, r=Gankro
The current nonzero side padding of `code` tags is good for legibility in paragraphs and lists; however, it introduces an awkward indentation to `pre` tags. Specifically, when a `pre` tag contains preformatted text with multiple lines, the fist line gets pushed slightly to the right, running the vertical alignment. An example can be seen [here](http://doc.rust-lang.org/std/fmt/#syntax). I propose setting the padding to zero for `code`s contained in `pre`s.


Regards,
Ivan
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions