chore: remove extra #[cfg] attribute (#1616)

This was accidentally added in 2d1e4144b3.
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:
Alexey Orlenko 2023-06-07 03:30:18 +02:00 committed by GitHub
parent 52c6969450
commit 1fd469a7fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();