We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2087c35 commit 0d05f07Copy full SHA for 0d05f07
mozjs/src/gc/macros.rs
@@ -21,7 +21,7 @@ macro_rules! rooted {
21
let $($var)+: $crate::gc::RootedGuard<$type> = $crate::gc::RootedGuard::new(
22
$cx,
23
&mut __root,
24
- <$type as $crate::gc::GCMethods>::initial(),
+ unsafe { <$type as $crate::gc::GCMethods>::initial() },
25
);
26
};
27
}
0 commit comments