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