diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-05-01 14:44:19 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-05-01 14:44:19 -0500 |
commit | 2f0b805fad2419518f0d80e90cf322fbd507a916 (patch) | |
tree | f067ead0c24f369bcafe3e3a2fc084ac0fd95647 /components/script/dom/bindings/js.rs | |
parent | 5f6a740190e1e5912d84162c92c6b79365df165a (diff) | |
parent | 99d6f83b663fb40c70357cd0389e7f705e95ee8e (diff) | |
download | servo-2f0b805fad2419518f0d80e90cf322fbd507a916.tar.gz servo-2f0b805fad2419518f0d80e90cf322fbd507a916.zip |
Auto merge of #5916 - servo:prepare-rustup, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5916)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/bindings/js.rs')
-rw-r--r-- | components/script/dom/bindings/js.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/js.rs b/components/script/dom/bindings/js.rs index c80aa48b4ac..70dd88c1842 100644 --- a/components/script/dom/bindings/js.rs +++ b/components/script/dom/bindings/js.rs @@ -593,7 +593,7 @@ impl RootCollection { /// `RootCollection` object. Attempts to transfer ownership of a `Root` via /// moving will trigger dynamic unrooting failures due to incorrect ordering. #[no_move] -pub struct Root<T> { +pub struct Root<T: Reflectable> { /// List that ensures correct dynamic root ordering root_list: &'static RootCollection, /// Reference to rooted value that must not outlive this container |