mirror of
https://github.com/napi-rs/napi-rs.git
synced 2025-12-08 19:56:07 +00:00
chore: remove extra #[cfg] attribute (#1616)
This was accidentally added in 2d1e4144b315894164c8316a5fcfa2bc887a19d0. The second cfg attribute is essentially a no-op since the first one is still valid and has more conditions, but we don't need it.
This commit is contained in:
parent
52c6969450
commit
1fd469a7fc
@ -539,7 +539,6 @@ unsafe extern "C" fn napi_register_module_v1(
|
||||
});
|
||||
|
||||
#[cfg(all(windows, feature = "napi4", feature = "tokio_rt"))]
|
||||
#[cfg(all(feature = "napi4", feature = "tokio_rt"))]
|
||||
{
|
||||
crate::tokio_runtime::ensure_runtime();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user