chore(napi): remove napi_val on Ref because it is unused
This commit is contained in:
parent
4ba481c49d
commit
aff95d0271
2 changed files with 0 additions and 4 deletions
|
@ -833,7 +833,6 @@ impl Env {
|
|||
raw_ref,
|
||||
count: 1,
|
||||
inner: (),
|
||||
raw_value,
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -851,7 +850,6 @@ impl Env {
|
|||
raw_ref,
|
||||
count: ref_count,
|
||||
inner: (),
|
||||
raw_value,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@ pub struct Ref<T> {
|
|||
pub(crate) raw_ref: sys::napi_ref,
|
||||
pub(crate) count: u32,
|
||||
pub(crate) inner: T,
|
||||
pub(crate) raw_value: sys::napi_value,
|
||||
}
|
||||
|
||||
#[allow(clippy::non_send_fields_in_send_ty)]
|
||||
|
@ -26,7 +25,6 @@ impl<T> Ref<T> {
|
|||
raw_ref,
|
||||
count: ref_count,
|
||||
inner,
|
||||
raw_value: js_value.value,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue