Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMake mouse_over_targets a RootedVec #5539
Closed
Comments
|
Hmm, I am not quite familiar with the custom types that servo uses. How would one go about using iterators with RootedVec (since the current code uses iterators)? |
|
RootedVec is just a wrapper for Vec, and it dereferences to the underlying vector. That means that all of the regular methods for vector objects should continue to work. |
|
@jdm Can I give it a try? |
|
Absolutely! |
bors-servo
pushed a commit
that referenced
this issue
Apr 19, 2015
Fixes #5539 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5567) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Vec<JS<T>>is unsafe, and we can do better now.Code: components/script/dom/document.rs