We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be1b2d commit 49a44c4Copy full SHA for 49a44c4
mozjs/src/context.rs
@@ -37,7 +37,7 @@ pub use crate::jsapi::JSContext as RawJSContext;
37
///
38
/// // this lives in mozjs
39
/// fn safe_wrapper_to_SM_function_that_can_trigger_gc(cx: &mut JSContext) {
40
-/// unsafe { SM_function_that_can_trigger_gc(cx.raw()) }
+/// unsafe { SM_function_that_can_trigger_gc(cx.raw_cx()) }
41
/// }
42
43
/// fn can_cause_gc(cx: &mut JSContext) {
0 commit comments