From 801b9ec62d94f201e67d053ee90dae0b70e50a42 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 26 Jun 2023 15:10:27 +0200 Subject: chore: fix typos (#19572) --- ext/napi/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/napi/function.rs') diff --git a/ext/napi/function.rs b/ext/napi/function.rs index f921c4838..49e9a3570 100644 --- a/ext/napi/function.rs +++ b/ext/napi/function.rs @@ -43,7 +43,7 @@ extern "C" fn call_fn(info: *const v8::FunctionCallbackInfo) { if let Some(f) = info.cb { // SAFETY: calling user provided function pointer. let value = unsafe { f(info.env, info_ptr as *mut _) }; - // SAFETY: napi_value is reprsented as v8::Local internally. + // SAFETY: napi_value is represented as v8::Local internally. rv.set(unsafe { transmute::>(value) }); } } -- cgit v1.2.3