diff options
Diffstat (limited to 'core/zero_copy_buf.rs')
-rw-r--r-- | core/zero_copy_buf.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/zero_copy_buf.rs b/core/zero_copy_buf.rs index be61d5f98..a458e12ff 100644 --- a/core/zero_copy_buf.rs +++ b/core/zero_copy_buf.rs @@ -19,7 +19,7 @@ unsafe impl Send for ZeroCopyBuf {} impl ZeroCopyBuf { pub fn new<'s>( - scope: &mut impl v8::ToLocal<'s>, + scope: &mut v8::HandleScope<'s>, view: v8::Local<v8::ArrayBufferView>, ) -> Self { let backing_store = view.buffer(scope).unwrap().get_backing_store(); |