style: clippy fix
This commit is contained in:
parent
43d21c51d2
commit
e4ca46f32b
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ impl<
|
|||
B: TypeName + FromNapiValue + ToNapiValue + NapiRaw,
|
||||
> Either<A, B>
|
||||
{
|
||||
/// # Safety
|
||||
/// Backward compatible with `Either` in **v1**
|
||||
pub unsafe fn raw(&self) -> napi_sys::napi_value {
|
||||
match &self {
|
||||
Self::A(a) => a.raw(),
|
||||
|
|
Loading…
Reference in a new issue