diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-07-13 15:16:24 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 15:16:24 -0600 |
commit | 8465bd0037acbaac0c7dfab6a8c6dbf47539934e (patch) | |
tree | c2ba7e1ba75a45ba552f40f7a09407674a890916 /ext/napi | |
parent | c5ddb5f205dcd6b273b0b451f01f79b68621b2e4 (diff) |
chore: update to Rust 1.71 (#19822)
Diffstat (limited to 'ext/napi')
-rw-r--r-- | ext/napi/function.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/napi/function.rs b/ext/napi/function.rs index 49e9a3570..a99997225 100644 --- a/ext/napi/function.rs +++ b/ext/napi/function.rs @@ -37,7 +37,7 @@ extern "C" fn call_fn(info: *const v8::FunctionCallbackInfo) { }; // SAFETY: pointer from Box::into_raw. - let mut info = unsafe { &mut *info_ptr }; + let info = unsafe { &mut *info_ptr }; info.args = &args as *const _ as *const c_void; if let Some(f) = info.cb { |