From 869acee8fb801191e87c39641e883fa455811f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 20 Oct 2022 21:01:49 +0200 Subject: chore: upgrade rusty_v8 to 0.54.0 (#16368) --- ext/ffi/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/ffi') diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index 3ad75e245..3de204ef3 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -706,8 +706,7 @@ fn make_sync_fn<'s>( |scope: &mut v8::HandleScope, args: v8::FunctionCallbackArguments, mut rv: v8::ReturnValue| { - let external: v8::Local = - args.data().unwrap().try_into().unwrap(); + let external: v8::Local = args.data().try_into().unwrap(); // SAFETY: The pointer will not be deallocated until the function is // garbage collected. let symbol = unsafe { &*(external.value() as *const Symbol) }; -- cgit v1.2.3