Stop using JS::MutableHandle's DerefMut impl (#36161)

Signed-off-by: Greg Morenz <greg-morenz@droid.cafe>
This commit is contained in:
Greg Morenz 2025-03-26 05:31:37 -04:00 committed by GitHub
parent a9b393a854
commit f183149811
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -317,7 +317,7 @@ unsafe extern "C" fn do_nothing_promise_executor(
vp: *mut JSVal,
) -> bool {
let args = CallArgs::from_vp(vp, argc);
*args.rval() = UndefinedValue();
args.rval().set(UndefinedValue());
true
}