chore: apply 1.52 clippy rules
This commit is contained in:
parent
e9bb6d19ca
commit
1553bf7bc4
2 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ impl<'env> CallContext<'env> {
|
|||
) -> Self {
|
||||
Self {
|
||||
env,
|
||||
callback_info,
|
||||
raw_this,
|
||||
callback_info,
|
||||
args,
|
||||
length,
|
||||
}
|
||||
|
|
|
@ -19,8 +19,8 @@ impl<T: NapiValue> EscapableHandleScope<T> {
|
|||
sys::napi_escape_handle(env, handle_scope, NapiRaw::raw(&value), &mut result)
|
||||
})?;
|
||||
Ok(Self {
|
||||
value,
|
||||
handle_scope,
|
||||
value,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue