Merge pull request #551 from napi-rs/rust-1.52
chore: apply 1.52 clippy rules
This commit is contained in:
commit
6a43ed64f4
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