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 updom_class argument to do_create_interface_objects could be Option<&'static DOMClass> #7942
Labels
Comments
|
I think I've done it. Please see #7948. |
bors-servo
pushed a commit
that referenced
this issue
Oct 10, 2015
Changed dom_class type to Option<&'static DOMClass> to fix #7942 I have a feeling that converting `Option<&T>` to `*const libc::c_void` could be less explicit. Was there any way to do it shorter? <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7948) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would more clearly document what it expects.
This will involve changing the signature in
components/script/dom/bindings/utils.rsand the caller incomponents/script/dom/bindings/codegen/CodegenRust.py.