mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
style: clippy fix
This commit is contained in:
parent
43d21c51d2
commit
e4ca46f32b
@ -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…
x
Reference in New Issue
Block a user