Skip to content

ir: Preserve better whitespace in comments. #1384

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

Merged
merged 1 commit into from
Sep 13, 2018

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Sep 7, 2018

Fixes #1341.

@emilio
Copy link
Contributor Author

emilio commented Sep 7, 2018

r? @upsuper

@upsuper
Copy link
Contributor

upsuper commented Sep 10, 2018

I don't have enough confidence reviewing this...

r? @fitzgen

Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@emilio
Copy link
Contributor Author

emilio commented Sep 13, 2018

@bors-servo r=fitzgen

@bors-servo
Copy link

📌 Commit 7ad57a4 has been approved by fitzgen

@bors-servo
Copy link

⌛ Testing commit 7ad57a4 with merge d00b54c...

bors-servo pushed a commit that referenced this pull request Sep 13, 2018
ir: Preserve better whitespace in comments.

Fixes #1341.
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: fitzgen
Pushing d00b54c to master...

@bors-servo bors-servo merged commit 7ad57a4 into rust-lang:master Sep 13, 2018
emilio added a commit to servo/mozjs that referenced this pull request Oct 29, 2018
rust-lang/rust-bindgen#1384 makes bindgen
respect whitespace in documentation comments instead of trimming them.

This means that some of the comments from the C++ examples try to get compiled
as Rust, with a bad result for `cargo test`s purposes.

Just test using cargo test --lib. An alternative would be to disable doc
comments in bindgen.
emilio added a commit to servo/mozjs that referenced this pull request Oct 29, 2018
rust-lang/rust-bindgen#1384 makes bindgen
respect whitespace in documentation comments instead of trimming them.

This means that some of the comments from the C++ examples try to get compiled
as Rust, with a bad result for `cargo test`s purposes.

Just test using cargo test --lib. An alternative would be to disable doc
comments in bindgen.
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.

5 participants