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

Rust 0.6 syntax #10

Merged
merged 2 commits into from Apr 2, 2013
Merged

Rust 0.6 syntax #10

merged 2 commits into from Apr 2, 2013

Conversation

@metajack
Copy link
Contributor

metajack commented Apr 1, 2013

No description provided.

@jdm

This comment has been minimized.

Copy link

jdm commented on crust.rs in 849389c Apr 2, 2013

This isn't correct; we need to ensure that structs are passed by value, which requires the + mode right now.

This comment has been minimized.

Copy link
Owner Author

metajack replied Apr 2, 2013

I was told that ++ is unused now. Did I misunderstand something? The compiler throws a warning here on ++ in 0.6.

@jdm

This comment has been minimized.

Copy link

jdm commented on rust.rs in 849389c Apr 2, 2013

I think it should be possible to use mutable references to Cx and avoid making classes managed. This should avoid the need for the unsafe_destructor attribute as well.

@jdm

This comment has been minimized.

Copy link

jdm commented on rust.rs in 849389c Apr 2, 2013

Similarly, it feels like we shouldn't need to make this managed, just ensure we have mutable references to Compartment.

jdm added a commit that referenced this pull request Apr 2, 2013
@jdm jdm merged commit 232f70c into servo:master Apr 2, 2013
mmatyas pushed a commit to mmatyas/rust-mozjs that referenced this pull request Jul 30, 2015
tschneidereit pushed a commit to tschneidereit/rust-mozjs that referenced this pull request Aug 26, 2017
Silence unused-local-typedefs warnings.
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

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