-
Notifications
You must be signed in to change notification settings - Fork 121
MutableHandle::new should be pub(crate) #552
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
Comments
Yep, that looks like the right fix to me. |
Fixes servo#552 Signed-off-by: Greg Morenz <[email protected]>
Fixes #552 Signed-off-by: Greg Morenz <[email protected]>
I don't understand this issue and I don't understand the fix. Please explain it to me.
How would you use Is this about some soundness issue that I'm not seeing? For context: edit: Actually I suppose calling the function while I have |
You probably want to root T, and then you can obtain mutable handle to pass it to function.
|
mozjs/mozjs/src/gc/root.rs
Line 123 in 0081fc4
is private to this crate, but
mozjs/mozjs/src/gc/root.rs
Line 177 in 0081fc4
is not. I assume both should be private to this crate(In both cases one should not directly call
new
, but rather useset
on a newly rooted undefined value?).The text was updated successfully, but these errors were encountered: