diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index 5ea35a14541..a46c58ff7c7 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -3442,8 +3442,6 @@ class CGUnionStruct(CGThing): " %s::e%s(ref inner) => inner.to_jsval(cx, rval)," % (self.type, v["name"]) for v in templateVars ] - # XXXManishearth The following should be #[must_root], - # however we currently allow it till #2661 is fixed return ("""\ pub enum %s { %s