]> git.lizzy.rs Git - rust.git/commit
rustdoc: remove artificial indentation of doctest code
authorGeorg Brandl <georg@python.org>
Mon, 9 May 2016 13:30:24 +0000 (15:30 +0200)
committerGeorg Brandl <georg@python.org>
Mon, 9 May 2016 20:46:40 +0000 (22:46 +0200)
commit5606b42981e5714b22ff61ec2dcd37414d569287
treea5ce9ad9beb1be43bc8a942a15283e823d378638
parent50909f2d5036e59871f779500dd722a62421c13c
rustdoc: remove artificial indentation of doctest code

This makes the examples look nicer when printed (when is this
done?), but breaks tests using multi-line string literals.

Fixes: #25944
src/doc/book/strings.md
src/librustdoc/test.rs
src/test/rustdoc/issue-25944.rs [new file with mode: 0644]