Skip to content
This repository has been archived by the owner on Nov 12, 2022. It is now read-only.

rust.rs: unsafe Handle::new() is now a private function. #523

Merged
merged 1 commit into from
Aug 25, 2020

Conversation

sudarshan-reddy
Copy link
Contributor

The new() constructor is unsafe because of the way it accepts pointers
and isn't marked to indicate this. The usage occurrence of this function
outside of this crate is also limited to one. To thisend, marking it private
would prevent potentially unsafe propagation.

The new() constructor is potentially unsafe because of the way it
accepts pointers and isnt marked to indicate this. The usage occurrence
of this function outside of this crate is also limited to one. To this
end, marking it private would prevent potentially unsafe propagation.
@sudarshan-reddy sudarshan-reddy changed the title rust.rs: Handle::new() is now a private function. rust.rs: unsafe Handle::new() is now a private function. Aug 25, 2020
@jdm
Copy link
Member

jdm commented Aug 25, 2020

@bors-servo r+
Thanks!

@bors-servo
Copy link
Contributor

📌 Commit 806aed5 has been approved by jdm

@bors-servo
Copy link
Contributor

⌛ Testing commit 806aed5 with merge e9f71b6...

@bors-servo
Copy link
Contributor

☀️ Test successful - checks-travis, status-appveyor
Approved by: jdm
Pushing e9f71b6 to master...

@bors-servo bors-servo merged commit e9f71b6 into servo:master Aug 25, 2020
@sudarshan-reddy sudarshan-reddy deleted the handle-new-private branch August 25, 2020 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants