We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent caa4d19 commit bdf354dCopy full SHA for bdf354d
components/script/dom/bindings/codegen/CodegenRust.py
@@ -2278,7 +2278,10 @@ def define(self):
2278
return """\
2279
static INTERFACE_OBJECT_CLASS: NonCallbackInterfaceObjectClass =
2280
NonCallbackInterfaceObjectClass::new(
2281
- &%(constructorBehavior)s,
+ {
2282
+ const BEHAVIOR: InterfaceConstructorBehavior = %(constructorBehavior)s;
2283
+ &BEHAVIOR
2284
+ },
2285
%(representation)s,
2286
PrototypeList::ID::%(id)s,
2287
%(depth)s);
rust-toolchain
@@ -1 +1 @@
1
-nightly-2018-08-29
+nightly-2018-10-05
0 commit comments