From b59f54ce81e06c416e039119e1df70e5cbde41f8 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 1 May 2015 21:19:37 +0200 Subject: [PATCH] Add a Reflectable bound to Root's type parameter. --- components/script/dom/bindings/js.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { +pub struct Root { /// List that ensures correct dynamic root ordering root_list: &'static RootCollection, /// Reference to rooted value that must not outlive this container