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

[breaking change] Make raw pointer fields private #110

Merged
merged 1 commit into from May 17, 2018
Merged

Conversation

@mbrubeck
Copy link
Contributor

mbrubeck commented May 17, 2018

This is necessary for safety; otherwise safe Rust code could cause memory-safety violations by writing to the raw field and then calling safe methods.


This change is Reviewable

This is necessary for safety; otherwise safe Rust code could cause
memory-safety violations by writing to the `raw` field and then calling
safe methods.
@mbrubeck mbrubeck changed the title Make raw pointer fields private [breaking change] Make raw pointer fields private May 17, 2018
@waywardmonkeys
Copy link
Collaborator

waywardmonkeys commented May 17, 2018

@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2018

📌 Commit 4b47e10 has been approved by waywardmonkeys

@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2018

Testing commit 4b47e10 with merge 8a1472b...

bors-servo added a commit that referenced this pull request May 17, 2018
[breaking change] Make raw pointer fields private

This is necessary for safety; otherwise safe Rust code could cause memory-safety violations by writing to the `raw` field and then calling safe methods.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-harfbuzz/110)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 17, 2018

☀️ Test successful - status-travis
Approved by: waywardmonkeys
Pushing 8a1472b to master...

@bors-servo bors-servo merged commit 4b47e10 into servo:master May 17, 2018
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.