Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustdoc: remove artificial indentation of doctest code #33512

Merged
merged 1 commit into from
May 11, 2016

Conversation

birkenfeld
Copy link
Contributor

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

Fixes: #25944

@rust-highfive
Copy link
Collaborator

r? @cmr

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 5dac5ee8583149cc93118f54f1ccd32453f74efe

@Manishearth
Copy link
Member

(fails travis)

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

Fixes: rust-lang#25944
@sanxiyn
Copy link
Member

sanxiyn commented May 10, 2016

@bors r+

@bors
Copy link
Contributor

bors commented May 10, 2016

📌 Commit 5606b42 has been approved by sanxiyn

@bors
Copy link
Contributor

bors commented May 11, 2016

⌛ Testing commit 5606b42 with merge 80ec1b9...

bors added a commit that referenced this pull request May 11, 2016
rustdoc: remove artificial indentation of doctest code

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

Fixes: #25944
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants